From 995a16e3b1073e414a0539ed8ecb28e6a6486b7d Mon Sep 17 00:00:00 2001 From: Brian Warner <warner@allmydata.com> Date: Wed, 19 Nov 2008 14:05:52 -0700 Subject: [PATCH] misc/spacetime/diskwatcher.tac: remove dead code --- misc/spacetime/diskwatcher.tac | 3 --- 1 file changed, 3 deletions(-) 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: -- 2.45.2