PEP8 on a comment and removed a log debug line.

This commit is contained in:
Ed Cranford 2012-04-23 15:20:11 -05:00
parent 3d899cff96
commit 1521f62002
2 changed files with 2 additions and 3 deletions

View File

@ -577,7 +577,6 @@ class RootHistory(ModelBase):
history = cls.load(context, instance_id)
if history is not None:
return history
LOG.debug("Context right now is: %s" % str(context.to_dict()))
history = RootHistory(instance_id, user)
history.save()
return history

View File

@ -341,8 +341,8 @@ if __name__ == '__main__':
hdlr.setFormatter(formatter)
logger.addHandler(hdlr)
logger.setLevel(logging.DEBUG)
# If any argument looks like a test name but doesn't have "reddwarf.tests" in
# front of it, automatically add that so we don't have to type as much
# If any argument looks like a test name but doesn't have "reddwarf.tests"
# in front of it, automatically add that so we don't have to type as much
show_elapsed = True
argv = []
for x in sys.argv: