From: Brian Warner Date: Wed, 10 Sep 2008 02:50:17 +0000 (-0700) Subject: hush pyflakes X-Git-Url: https://git.rkrishnan.org/specifications/(%5B%5E?a=commitdiff_plain;h=80d8f3e8629600e3a2c308617e0ece15f68ac582;p=tahoe-lafs%2Ftahoe-lafs.git hush pyflakes --- diff --git a/src/allmydata/immutable/checker.py b/src/allmydata/immutable/checker.py index b0019865..4c3eacaf 100644 --- a/src/allmydata/immutable/checker.py +++ b/src/allmydata/immutable/checker.py @@ -11,7 +11,7 @@ from twisted.python import log 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 diff --git a/src/allmydata/test/test_system.py b/src/allmydata/test/test_system.py index a62e69b1..1a62d0a9 100644 --- a/src/allmydata/test/test_system.py +++ b/src/allmydata/test/test_system.py @@ -2185,7 +2185,7 @@ class DeepCheck(SystemTestMixin, unittest.TestCase): 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 diff --git a/src/allmydata/test/test_web.py b/src/allmydata/test/test_web.py index 1f14b0f0..3c4d0cc6 100644 --- a/src/allmydata/test/test_web.py +++ b/src/allmydata/test/test_web.py @@ -8,7 +8,7 @@ from twisted.python import failure, log 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, \