From 80d8f3e8629600e3a2c308617e0ece15f68ac582 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Tue, 9 Sep 2008 19:50:17 -0700 Subject: [PATCH] hush pyflakes --- src/allmydata/immutable/checker.py | 2 +- src/allmydata/test/test_system.py | 2 +- src/allmydata/test/test_web.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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, \ -- 2.45.2