from allmydata import storage
from allmydata.checker_results import CheckerResults
from allmydata.immutable import download
-from allmydata.util import hashutil, idlib, base32
+from allmydata.util import hashutil
class SimpleCHKFileChecker:
"""Return a list of (needed, total, found, sharemap), where sharemap maps
try:
data = simplejson.loads(s)
except ValueError:
- self.fail("%s (%s): not JSON: '%s'" % (where, url, s))
+ self.fail("%s: not JSON: '%s'" % (url, s))
return data
d.addCallback(_decode)
return d
from allmydata import interfaces, provisioning, uri, webish
from allmydata.immutable import upload, download
from allmydata.web import status, common
-from allmydata.util import fileutil, idlib
+from allmydata.util import fileutil
from allmydata.test.common import FakeDirectoryNode, FakeCHKFileNode, \
FakeMutableFileNode, create_chk_filenode
from allmydata.interfaces import IURI, INewDirectoryURI, \