From 923c9c242a741de01896bef27057441088325f50 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Thu, 17 Jul 2008 17:06:20 -0700 Subject: [PATCH] oops, fix import/pyflakes problems --- src/allmydata/immutable/checker.py | 3 +-- src/allmydata/mutable/node.py | 3 --- src/allmydata/test/common.py | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/allmydata/immutable/checker.py b/src/allmydata/immutable/checker.py index 8b734326..3328daba 100644 --- a/src/allmydata/immutable/checker.py +++ b/src/allmydata/immutable/checker.py @@ -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 diff --git a/src/allmydata/mutable/node.py b/src/allmydata/mutable/node.py index d3c91a3b..bb038022 100644 --- a/src/allmydata/mutable/node.py +++ b/src/allmydata/mutable/node.py @@ -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) diff --git a/src/allmydata/test/common.py b/src/allmydata/test/common.py index 5567451c..c204bbf0 100644 --- a/src/allmydata/test/common.py +++ b/src/allmydata/test/common.py @@ -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) -- 2.45.2