From: Brian Warner Date: Tue, 17 Jun 2008 18:36:32 +0000 (-0700) Subject: storage: remove unused method X-Git-Tag: allmydata-tahoe-1.2.0~85 X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/frontends/provisioning?a=commitdiff_plain;h=b62b3974d3a5dc1e30d12a49c11a4871158e7677;p=tahoe-lafs%2Ftahoe-lafs.git storage: remove unused method --- diff --git a/src/allmydata/storage.py b/src/allmydata/storage.py index 294296ff..b4582b07 100644 --- a/src/allmydata/storage.py +++ b/src/allmydata/storage.py @@ -965,16 +965,6 @@ class StorageServer(service.MultiService, Referenceable): # Commonly caused by there being no buckets at all. pass - def _get_incoming_shares(self, storage_index): - incomingdir = os.path.join(self.incomingdir, storage_index_to_dir(storage_index)) - try: - for f in os.listdir(incomingdir): - if NUM_RE.match(f): - filename = os.path.join(incomingdir, f) - yield (int(f), filename) - except OSError: - pass - def remote_get_buckets(self, storage_index): start = time.time() self.count("get")