RandomContentFile.start_time is never used, remove.

This commit is contained in:
Tommi Virtanen 2011-07-28 10:20:47 -07:00
parent 832b297cec
commit a9c47e4951

View file

@ -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()