from allmydata.immutable import download
from allmydata.uri import CHKFileURI
from allmydata.util import hashutil
-from allmydata.util.assertutil import _assert, precondition
+from allmydata.util.assertutil import precondition
class SimpleCHKFileChecker:
"""Return a list of (needed, total, found, sharemap), where sharemap maps
from foolscap import DeadReferenceError
from foolscap.eventual import eventually
-from allmydata.util import base32, mathutil, hashutil, log, observer
+from allmydata.util import base32, mathutil, hashutil, log
from allmydata.util.assertutil import _assert, precondition
from allmydata import codec, hashtree, storage, uri
from allmydata.interfaces import IDownloadTarget, IDownloader, IFileURI, IVerifierURI, \
from foolscap import eventual
from allmydata import hashtree, uri
from allmydata.immutable import encode, upload, download
-from allmydata.util import base32, hashutil
+from allmydata.util import hashutil
from allmydata.util.assertutil import _assert
from allmydata.interfaces import IStorageBucketWriter, IStorageBucketReader, NotEnoughSharesError
import common_util as testutil