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
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
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):