Fix pyflakes warnings.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2016-02-09 15:30:06 +00:00 committed by Brian Warner
parent 9cfcb1b3aa
commit 807cfbf0dc
3 changed files with 6 additions and 7 deletions

View File

@ -1,14 +1,14 @@
import binascii
import time
now = time.time
from time import time as now
from zope.interface import implements
from twisted.internet import defer
from allmydata import uri
from twisted.internet.interfaces import IConsumer
from allmydata.interfaces import IImmutableFileNode, IUploadResults
from allmydata.util import consumer, progress
from allmydata.util import consumer
from allmydata.check_results import CheckResults, CheckAndRepairResults
from allmydata.util.dictutil import DictOfSets
from allmydata.util.happinessutil import servers_of_happiness

View File

@ -17,8 +17,7 @@ from .cli import MakeDirectoryOptions, LnOptions, CreateAliasOptions
import tahoe_mv
from allmydata.util.encodingutil import argv_to_abspath, argv_to_unicode, to_str, \
quote_local_unicode_path
from allmydata.scripts.common_http import do_http, format_http_success, \
format_http_error, BadResponse
from allmydata.scripts.common_http import do_http, BadResponse
from allmydata.util import fileutil
from allmydata.util import configutil
from allmydata import uri

View File

@ -2,10 +2,10 @@ import simplejson
from twisted.web.server import UnsupportedMethod
from nevow import rend, url, tags as T
from nevow import rend
from nevow.inevow import IRequest
from allmydata.web.common import getxmlfile, get_arg, WebError
from allmydata.web.common import get_arg, WebError
class MagicFolderWebApi(rend.Page):