From 6c6c62037d7f8b6705b3a746b9c4a794d9ae9085 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Sun, 12 Aug 2007 16:33:51 -0700 Subject: [PATCH] fix pyflakes warnings from recent b32decode change --- src/allmydata/client.py | 1 - src/allmydata/test/test_system.py | 4 ++-- src/allmydata/webish.py | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/allmydata/client.py b/src/allmydata/client.py index a0baa8ed..d54d1faa 100644 --- a/src/allmydata/client.py +++ b/src/allmydata/client.py @@ -1,6 +1,5 @@ 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 diff --git a/src/allmydata/test/test_system.py b/src/allmydata/test/test_system.py index b66ed063..5d65ae4b 100644 --- a/src/allmydata/test/test_system.py +++ b/src/allmydata/test/test_system.py @@ -1,5 +1,5 @@ -from base64 import b32decode, b32encode +from base64 import b32encode import os from cStringIO import StringIO from twisted.trial import unittest @@ -7,7 +7,7 @@ from twisted.internet import defer, reactor 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 diff --git a/src/allmydata/webish.py b/src/allmydata/webish.py index 812d43f9..d00884c2 100644 --- a/src/allmydata/webish.py +++ b/src/allmydata/webish.py @@ -1,5 +1,5 @@ -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 @@ -7,7 +7,7 @@ from twisted.python import util, log 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 -- 2.45.2