comparison roundup/admin.py @ 5216:6a4317738a90

make roundup-admin init function set the transaction source. Otherwise when initial_data.py is loaded as part of init, db.tx_Source is set to None and thus checks like db.tx_Source in [ 'cli' ] will fail.
author John Rouillard <rouilj@ieee.org>
date Wed, 22 Mar 2017 22:03:01 -0400
parents 6ae426092d7d
children cb61b7935fec
comparison
equal deleted inserted replaced
5215:917e45d9ba08 5216:6a4317738a90
518 518
519 # nuke it 519 # nuke it
520 tracker.nuke() 520 tracker.nuke()
521 521
522 # GO 522 # GO
523 tracker.init(password.Password(adminpw, config=tracker.config)) 523 tracker.init(password.Password(adminpw, config=tracker.config),
524 tx_Source = 'cli')
524 525
525 return 0 526 return 0
526 527
527 528
528 def do_get(self, args): 529 def do_get(self, args):

Roundup Issue Tracker: http://roundup-tracker.org/