mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-24 19:30:38 +00:00
RandomContentFile.start_time is never used, remove.
This commit is contained in:
parent
832b297cec
commit
a9c47e4951
1 changed files with 1 additions and 2 deletions
|
@ -16,7 +16,7 @@ class RandomContentFile(object):
|
|||
|
||||
# Boto likes to seek once more after it's done reading, so we need to save the last chunks/seek value.
|
||||
self.last_chunks = self.chunks = None
|
||||
self.last_seek = self.start_time = None
|
||||
self.last_seek = None
|
||||
|
||||
# Let seek initialize the rest of it, rather than dup code
|
||||
self.seek(0)
|
||||
|
@ -35,7 +35,6 @@ class RandomContentFile(object):
|
|||
self.digest = None
|
||||
|
||||
# Save the last seek time as our start time, and the last chunks
|
||||
self.start_time = self.last_seek
|
||||
self.last_chunks = self.chunks
|
||||
# Before emptying.
|
||||
self.last_seek = time.time()
|
||||
|
|
Loading…
Reference in a new issue