From: Daira Hopwood Date: Thu, 18 Apr 2013 21:47:12 +0000 (+0100) Subject: Fix pyflakes warnings. X-Git-Url: https://git.rkrishnan.org/zeppelin?a=commitdiff_plain;h=7aba9a91e037e51c9e5dea212a78a4c8a963bb83;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