From: Brian Warner Date: Wed, 25 Jul 2007 01:13:58 +0000 (-0700) Subject: remove unused imports: hush pyflakes warnings X-Git-Url: https://git.rkrishnan.org/class-simplejson.JSONEncoder-index.html?a=commitdiff_plain;h=e3eba2d6c5c3f61e4a89413f5a1af27a858929eb;p=tahoe-lafs%2Ftahoe-lafs.git remove unused imports: hush pyflakes warnings --- diff --git a/src/allmydata/introducer.py b/src/allmydata/introducer.py index d5c4a306..c7618867 100644 --- a/src/allmydata/introducer.py +++ b/src/allmydata/introducer.py @@ -7,7 +7,7 @@ from twisted.application import service from twisted.python import log from foolscap import Referenceable from allmydata.interfaces import RIIntroducer, RIIntroducerClient -from allmydata.util import idlib, observer +from allmydata.util import observer class Introducer(service.MultiService, Referenceable): implements(RIIntroducer) diff --git a/src/allmydata/node.py b/src/allmydata/node.py index 41ef9c69..4c24f18d 100644 --- a/src/allmydata/node.py +++ b/src/allmydata/node.py @@ -1,4 +1,4 @@ -from base64 import b32encode, b32decode +from base64 import b32encode import os.path, re diff --git a/src/allmydata/test/test_introducer.py b/src/allmydata/test/test_introducer.py index bbdc47d7..b63b79ca 100644 --- a/src/allmydata/test/test_introducer.py +++ b/src/allmydata/test/test_introducer.py @@ -1,4 +1,4 @@ -from base64 import b32encode, b32decode +from base64 import b32encode from twisted.trial import unittest from twisted.internet import defer, reactor diff --git a/src/allmydata/util/idlib.py b/src/allmydata/util/idlib.py index 0f89a33c..75b92aa1 100644 --- a/src/allmydata/util/idlib.py +++ b/src/allmydata/util/idlib.py @@ -1,7 +1,7 @@ # from the Python Standard Library import string -from assertutil import _assert, precondition +from assertutil import precondition z_base_32_alphabet = "ybndrfg8ejkmcpqxot1uwisza345h769" # Zooko's choice, rationale in "DESIGN" doc rfc3548_alphabet = "abcdefghijklmnopqrstuvwxyz234567" # RFC3548 standard used by Gnutella, Content-Addressable Web, THEX, Bitzi, Web-Calculus...