]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
oops, fix import/pyflakes problems
authorBrian Warner <warner@allmydata.com>
Fri, 18 Jul 2008 00:06:20 +0000 (17:06 -0700)
committerBrian Warner <warner@allmydata.com>
Fri, 18 Jul 2008 00:06:20 +0000 (17:06 -0700)
src/allmydata/immutable/checker.py
src/allmydata/mutable/node.py
src/allmydata/test/common.py

index 8b734326b2ad082e1d6f32675756202d02e46bcc..3328daba3c2a9fd0d1f6057314689e40360750d6 100644 (file)
@@ -10,8 +10,7 @@ from zope.interface import implements
 from twisted.internet import defer
 from twisted.python import log
 from allmydata import storage
-from allmydata.interfaces import IVerifierURI, \
-     ICheckerResults, IDeepCheckResults
+from allmydata.interfaces import ICheckerResults, IDeepCheckResults
 from allmydata.immutable import download
 from allmydata.util import hashutil, base32
 
index d3c91a3b1cce72f2045754d62ebb8ed638f88c94..bb038022d0812dc6eb50d7ec073f1a001c491147 100644 (file)
@@ -218,9 +218,6 @@ class MutableFileNode:
     def get_verifier(self):
         return IMutableFileURI(self._uri).get_verifier()
 
-    def get_storage_index(self):
-        return self._uri.storage_index
-
     def _do_serialized(self, cb, *args, **kwargs):
         # note: to avoid deadlock, this callable is *not* allowed to invoke
         # other serialized methods within this (or any other)
index 5567451cc2cb76b65bb271cbd855183410fdab60..c204bbf0de5d62ca4b5ea7489092edabdd0fcd43 100644 (file)
@@ -120,7 +120,7 @@ class FakeMutableFileNode:
     def deep_check(self, verify=False, repair=False):
         d = self.check(verify, repair)
         def _done(r):
-            dr = DeepCheckResults(self.storage_index)
+            dr = checker.DeepCheckResults(self.storage_index)
             dr.add_check(r)
             return dr
         d.addCallback(_done)