From a9c47e4951f928f998acf13590543eebddfe725d Mon Sep 17 00:00:00 2001 From: Tommi Virtanen Date: Thu, 28 Jul 2011 10:20:47 -0700 Subject: [PATCH] RandomContentFile.start_time is never used, remove. --- s3tests/realistic.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/s3tests/realistic.py b/s3tests/realistic.py index 4691262..b88a727 100644 --- a/s3tests/realistic.py +++ b/s3tests/realistic.py @@ -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()