From b62b3974d3a5dc1e30d12a49c11a4871158e7677 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Tue, 17 Jun 2008 11:36:32 -0700 Subject: [PATCH] storage: remove unused method --- src/allmydata/storage.py | 10 ---------- 1 file changed, 10 deletions(-) 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") -- 2.45.2