import os, sha, stat, time, re
-from base64 import b32decode
from foolscap import Referenceable, SturdyRef
from zope.interface import implements
from allmydata.interfaces import RIClient
-from base64 import b32decode, b32encode
+from base64 import b32encode
import os
from cStringIO import StringIO
from twisted.trial import unittest
from twisted.application import service
from allmydata import client, uri, download, upload
from allmydata.introducer_and_vdrive import IntroducerAndVdrive
-from allmydata.util import idlib, fileutil, testutil
+from allmydata.util import fileutil, testutil
from allmydata.scripts import runner
from allmydata.interfaces import IDirectoryNode, IFileNode, IFileURI
from allmydata.dirnode import NotMutableError
-from base64 import b32decode, b32encode
+from base64 import b32encode
import os.path
from twisted.application import service, strports
from twisted.web import static, resource, server, html, http
from twisted.internet import defer
from nevow import inevow, rend, loaders, appserver, url, tags as T
from nevow.static import File as nevow_File # TODO: merge with static.File?
-from allmydata.util import idlib, fileutil
+from allmydata.util import fileutil
import simplejson
from allmydata.interfaces import IDownloadTarget, IDirectoryNode, IFileNode
from allmydata import upload, download