From: Zooko O'Whielacronx Date: Fri, 5 Dec 2008 20:07:23 +0000 (-0700) Subject: minor: fix unused imports -- thanks, pyflakes X-Git-Url: https://git.rkrishnan.org/pf/content/en/footer/legal.html?a=commitdiff_plain;h=60bbc46a53865dccfeea0c82501b2dce9160a3d9;p=tahoe-lafs%2Ftahoe-lafs.git minor: fix unused imports -- thanks, pyflakes --- diff --git a/src/allmydata/immutable/checker.py b/src/allmydata/immutable/checker.py index c5a89243..69d6fb21 100644 --- a/src/allmydata/immutable/checker.py +++ b/src/allmydata/immutable/checker.py @@ -13,7 +13,7 @@ from allmydata.checker_results import CheckerResults 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 diff --git a/src/allmydata/immutable/download.py b/src/allmydata/immutable/download.py index 9b5e779f..a5a05f00 100644 --- a/src/allmydata/immutable/download.py +++ b/src/allmydata/immutable/download.py @@ -7,7 +7,7 @@ from twisted.application import service 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, \ diff --git a/src/allmydata/test/test_encode.py b/src/allmydata/test/test_encode.py index 20f18c4c..6f08c911 100644 --- a/src/allmydata/test/test_encode.py +++ b/src/allmydata/test/test_encode.py @@ -6,7 +6,7 @@ from twisted.python.failure import Failure 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