PEP8 on a comment and removed a log debug line.
This commit is contained in:
parent
3d899cff96
commit
1521f62002
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user