Moved setting of debug variables earlier so nothing would print when debug.stderr is false.

This commit is contained in:
Jeremy Fincher 2003-10-12 12:43:24 +00:00
parent 9eff6d997e
commit a1dc34643b

View File

@ -73,14 +73,13 @@ if not isinstance(configVariables, basestring):
for (name, value) in configVariables.iteritems(): for (name, value) in configVariables.iteritems():
setattr(conf, name, value) setattr(conf, name, value)
import debug
def main(): if not isinstance(debugVariables, basestring):
import debug
if not isinstance(debugVariables, basestring):
for (name, value) in debugVariables.iteritems(): for (name, value) in debugVariables.iteritems():
setattr(debug, name, value) setattr(debug, name, value)
def main():
import world import world
import drivers import drivers
import schedule import schedule