mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-22 11:45:15 +00:00
oops, fix import/pyflakes problems
This commit is contained in:
parent
67db0a4967
commit
923c9c242a
@ -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
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user