mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 13:07:56 +00:00
misc/spacetime/diskwatcher.tac: remove dead code
This commit is contained in:
parent
6f6556da22
commit
995a16e3b1
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user