From 60bbc46a53865dccfeea0c82501b2dce9160a3d9 Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Fri, 5 Dec 2008 13:07:23 -0700 Subject: [PATCH] minor: fix unused imports -- thanks, pyflakes --- src/allmydata/immutable/checker.py | 2 +- src/allmydata/immutable/download.py | 2 +- src/allmydata/test/test_encode.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.45.2