From: Brian Warner Date: Wed, 19 Nov 2008 21:05:52 +0000 (-0700) Subject: misc/spacetime/diskwatcher.tac: remove dead code X-Git-Url: https://git.rkrishnan.org/pf/content/en/seg/biz/?a=commitdiff_plain;h=995a16e3b1073e414a0539ed8ecb28e6a6486b7d;p=tahoe-lafs%2Ftahoe-lafs.git misc/spacetime/diskwatcher.tac: remove dead code --- diff --git a/misc/spacetime/diskwatcher.tac b/misc/spacetime/diskwatcher.tac index 74839e24..d3683819 100644 --- a/misc/spacetime/diskwatcher.tac +++ b/misc/spacetime/diskwatcher.tac @@ -306,9 +306,6 @@ class DiskWatcher(service.MultiService, resource.Resource): return _plural(s/YEAR, "year") def abbreviate_space2(self, s, SI=True): - def _plural(count, unit): - count = int(count) - return "%d %s" % (count, unit) if s is None: return "unknown" if SI: