From 7faec2e10a80719c42dad4947ca51e344c680699 Mon Sep 17 00:00:00 2001 From: Vladimir Rusinov Date: Fri, 2 Dec 2016 14:53:50 +0000 Subject: [PATCH] Adjust formatting to be pep8-compliant. --- src/allmydata/deep_stats.py | 2 +- src/allmydata/dirnode.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/allmydata/deep_stats.py b/src/allmydata/deep_stats.py index a3caa8559..775ac3f9d 100644 --- a/src/allmydata/deep_stats.py +++ b/src/allmydata/deep_stats.py @@ -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): diff --git a/src/allmydata/dirnode.py b/src/allmydata/dirnode.py index 51765ac67..de7248038 100644 --- a/src/allmydata/dirnode.py +++ b/src/allmydata/dirnode.py @@ -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'),