projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f6556d
)
misc/spacetime/diskwatcher.tac: remove dead code
author
Brian Warner
<warner@allmydata.com>
Wed, 19 Nov 2008 21:05:52 +0000
(14:05 -0700)
committer
Brian Warner
<warner@allmydata.com>
Wed, 19 Nov 2008 21:05:52 +0000
(14:05 -0700)
misc/spacetime/diskwatcher.tac
patch
|
blob
|
history
diff --git
a/misc/spacetime/diskwatcher.tac
b/misc/spacetime/diskwatcher.tac
index 74839e24fdb43bfff619cb1ed24d56c508d8fa8c..d3683819f699356c0ca3635419c0afcf6c49511b 100644
(file)
--- 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: