From: Brian Warner Date: Fri, 2 Feb 2007 00:13:01 +0000 (-0700) Subject: hush pyflakes warnings X-Git-Url: https://git.rkrishnan.org/pf/content/en/seg/running.html?a=commitdiff_plain;h=9d123605cbaa60b7f22a03358df5cdd39304222d;p=tahoe-lafs%2Ftahoe-lafs.git hush pyflakes warnings --- diff --git a/src/allmydata/codec.py b/src/allmydata/codec.py index 84be2631..0fbbf612 100644 --- a/src/allmydata/codec.py +++ b/src/allmydata/codec.py @@ -4,7 +4,7 @@ from zope.interface import implements from twisted.internet import defer import sha from allmydata.util import idlib, mathutil -from allmydata.util.assertutil import _assert, precondition +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 2df53675..59014b06 100644 --- a/src/allmydata/test/test_codec.py +++ b/src/allmydata/test/test_codec.py @@ -1,5 +1,5 @@ -import os, time +import os from twisted.trial import unittest from twisted.internet import defer from twisted.python import log diff --git a/src/allmydata/test/trial_figleaf.py b/src/allmydata/test/trial_figleaf.py index f614926b..e6abb21d 100644 --- a/src/allmydata/test/trial_figleaf.py +++ b/src/allmydata/test/trial_figleaf.py @@ -60,7 +60,6 @@ from twisted.trial.reporter import TreeReporter, VerboseTextReporter # finish in printSummary. from allmydata.util import figleaf -import os figleaf.start()