]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
storage: remove unused method
authorBrian Warner <warner@allmydata.com>
Tue, 17 Jun 2008 18:36:32 +0000 (11:36 -0700)
committerBrian Warner <warner@allmydata.com>
Tue, 17 Jun 2008 18:36:32 +0000 (11:36 -0700)
src/allmydata/storage.py

index 294296ff9202f5705247de55876371e04aaa2638..b4582b07f16e18f1856b3fcbd4ae94481f9ce442 100644 (file)
@@ -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")