remove unsed imports and variables
This cleanup is for the swift.common package Change-Id: Ibe74d4f0ae0376395f620b9be24a52cb8a4a5d98
This commit is contained in:
parent
9520af1be2
commit
5df2c20753
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user