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)
|
history = cls.load(context, instance_id)
|
||||||
if history is not None:
|
if history is not None:
|
||||||
return history
|
return history
|
||||||
LOG.debug("Context right now is: %s" % str(context.to_dict()))
|
|
||||||
history = RootHistory(instance_id, user)
|
history = RootHistory(instance_id, user)
|
||||||
history.save()
|
history.save()
|
||||||
return history
|
return history
|
||||||
|
|
|
@ -341,8 +341,8 @@ if __name__ == '__main__':
|
||||||
hdlr.setFormatter(formatter)
|
hdlr.setFormatter(formatter)
|
||||||
logger.addHandler(hdlr)
|
logger.addHandler(hdlr)
|
||||||
logger.setLevel(logging.DEBUG)
|
logger.setLevel(logging.DEBUG)
|
||||||
# If any argument looks like a test name but doesn't have "reddwarf.tests" in
|
# If any argument looks like a test name but doesn't have "reddwarf.tests"
|
||||||
# front of it, automatically add that so we don't have to type as much
|
# in front of it, automatically add that so we don't have to type as much
|
||||||
show_elapsed = True
|
show_elapsed = True
|
||||||
argv = []
|
argv = []
|
||||||
for x in sys.argv:
|
for x in sys.argv:
|
||||||
|
|
Loading…
Reference in New Issue