From 5df2c20753ac13ae89e1f3b7aa19939826c1370c Mon Sep 17 00:00:00 2001 From: Felipe Reyes Date: Sat, 28 Jan 2012 22:26:58 -0800 Subject: [PATCH] remove unsed imports and variables This cleanup is for the swift.common package Change-Id: Ibe74d4f0ae0376395f620b9be24a52cb8a4a5d98 --- swift/common/bench.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/swift/common/bench.py b/swift/common/bench.py index 51e39f7..2d230cd 100644 --- a/swift/common/bench.py +++ b/swift/common/bench.py @@ -21,7 +21,7 @@ from contextlib import contextmanager import eventlet.pools from eventlet.green.httplib import CannotSendRequest -from swift.common.utils import TRUE_VALUES, urlparse +from swift.common.utils import TRUE_VALUES from swift.common import client from swift.common import direct_client @@ -105,7 +105,6 @@ class Bench(object): def run(self): pool = eventlet.GreenPool(self.concurrency) - events = [] self.beginbeat = self.heartbeat = time.time() self.heartbeat -= 13 # just to get the first report quicker self.failures = 0