From: Brian Warner Date: Wed, 28 Mar 2007 22:31:51 +0000 (-0700) Subject: hush pyflakes warnings in codec and test_codec X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/frontends/module-simplejson.tests.html?a=commitdiff_plain;h=7802aa5303dcd02297a592527ee1598d0b5c163e;p=tahoe-lafs%2Ftahoe-lafs.git hush pyflakes warnings in codec and test_codec --- diff --git a/src/allmydata/codec.py b/src/allmydata/codec.py index ab15e16b..f75235f6 100644 --- a/src/allmydata/codec.py +++ b/src/allmydata/codec.py @@ -2,8 +2,7 @@ from zope.interface import implements from twisted.internet import defer -import sha -from allmydata.util import idlib, mathutil +from allmydata.util import mathutil from allmydata.util.assertutil import precondition from allmydata.interfaces import ICodecEncoder, ICodecDecoder import fec diff --git a/src/allmydata/test/test_codec.py b/src/allmydata/test/test_codec.py index c9fe13ef..ba2f0b34 100644 --- a/src/allmydata/test/test_codec.py +++ b/src/allmydata/test/test_codec.py @@ -1,7 +1,6 @@ import os from twisted.trial import unittest -from twisted.internet import defer from twisted.python import log from allmydata.codec import ReplicatingEncoder, ReplicatingDecoder, CRSEncoder, CRSDecoder import random