]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
misc/spacetime/diskwatcher.tac: remove dead code
authorBrian Warner <warner@allmydata.com>
Wed, 19 Nov 2008 21:05:52 +0000 (14:05 -0700)
committerBrian Warner <warner@allmydata.com>
Wed, 19 Nov 2008 21:05:52 +0000 (14:05 -0700)
misc/spacetime/diskwatcher.tac

index 74839e24fdb43bfff619cb1ed24d56c508d8fa8c..d3683819f699356c0ca3635419c0afcf6c49511b 100644 (file)
@@ -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: