From: Brian Warner Date: Fri, 13 Mar 2009 08:27:51 +0000 (-0700) Subject: consolidate: remove pointless 'else' after for loop X-Git-Tag: allmydata-tahoe-1.4.0~55 X-Git-Url: https://git.rkrishnan.org/Site/Content/Exhibitors/provisioning?a=commitdiff_plain;h=e59164e0bb7713fb875073b61313c226c5e573cc;p=tahoe-lafs%2Ftahoe-lafs.git consolidate: remove pointless 'else' after for loop --- diff --git a/src/allmydata/scripts/consolidate.py b/src/allmydata/scripts/consolidate.py index b72900cb..5088b666 100644 --- a/src/allmydata/scripts/consolidate.py +++ b/src/allmydata/scripts/consolidate.py @@ -172,8 +172,6 @@ class Consolidator: writecap = str(childdata["rw_uri"]) snapshots[timestamp][0] = childname snapshots[timestamp][1] = writecap - else: - self.msg(" No snapshots in Backups/Archives") snapshots = [ [timestamp] + values for (timestamp, values) in snapshots.items() ] # now 'snapshots' is [timestamp, rwname, writecap, roname, readcap],