From: Daira Hopwood Date: Thu, 18 Apr 2013 21:47:12 +0000 (+0100) Subject: Fix pyflakes warnings. X-Git-Url: https://git.rkrishnan.org/components/architecture.txt?a=commitdiff_plain;h=68b99b0d6e4bb109978e22bcbbb881151dc63f08;p=tahoe-lafs%2Ftahoe-lafs.git Fix pyflakes warnings. Signed-off-by: Daira Hopwood --- diff --git a/src/allmydata/storage/backends/cloud/cloud_common.py b/src/allmydata/storage/backends/cloud/cloud_common.py index 657d9662..72ac66e6 100644 --- a/src/allmydata/storage/backends/cloud/cloud_common.py +++ b/src/allmydata/storage/backends/cloud/cloud_common.py @@ -9,7 +9,6 @@ from twisted.web.error import Error from twisted.web.client import FileBodyProducer, ResponseDone, Agent, HTTPConnectionPool from twisted.web.http_headers import Headers from twisted.internet.protocol import Protocol -from twisted.internet.error import TimeoutError from zope.interface import Interface, implements from allmydata.interfaces import IShareBase diff --git a/src/allmydata/storage/backends/cloud/msazure/msazure_container.py b/src/allmydata/storage/backends/cloud/msazure/msazure_container.py index 2cf09637..a07ef750 100644 --- a/src/allmydata/storage/backends/cloud/msazure/msazure_container.py +++ b/src/allmydata/storage/backends/cloud/msazure/msazure_container.py @@ -11,6 +11,7 @@ import hashlib import urllib try: from xml.etree import cElementTree as ElementTree + ElementTree # hush pyflakes except ImportError: from xml.etree import ElementTree import time