Adjust formatting to be pep8-compliant.

This commit is contained in:
Vladimir Rusinov 2016-12-02 14:53:50 +00:00 committed by Brian Warner
parent 80fe154634
commit 7faec2e10a
2 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ class DeepStats(object):
self.histograms = {}
for k in ["size-files-histogram"]:
self.histograms[k] = {} # maps (min,max) to count
self.buckets = [(0,0), (1,3)]
self.buckets = [(0, 0), (1, 3)]
self.root = math.sqrt(10)
def set_monitor(self, monitor):

View File

@ -365,8 +365,8 @@ class DirectoryNode:
children.set_with_aux(name, (child, metadata), auxilliary=entry)
else:
log.msg(format="mutable cap for child %(name)s unpacked from an immutable directory",
name=quote_output(name, encoding='utf-8'),
facility="tahoe.webish", level=log.UNUSUAL)
name=quote_output(name, encoding='utf-8'),
facility="tahoe.webish", level=log.UNUSUAL)
except CapConstraintError, e:
log.msg(format="unmet constraint on cap for child %(name)s unpacked from a directory:\n"
"%(message)s", message=e.args[0], name=quote_output(name, encoding='utf-8'),