From 9706392ed5399211d614c304ed91cbf37baefe1e Mon Sep 17 00:00:00 2001 From: Jeremy Thurgood Date: Sun, 11 May 2014 11:21:21 +0200 Subject: [PATCH] Minor flake8 fixes. --- pyweek_upload.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyweek_upload.py b/pyweek_upload.py index f9201be..15eff87 100644 --- a/pyweek_upload.py +++ b/pyweek_upload.py @@ -73,7 +73,7 @@ class Progress(object): chunk = self.data.read(1024) self.sent += len(chunk) - #print (self.num, self.stepsize, self.total, self.sent, self.tosend) + # print (self.num, self.stepsize, self.total, self.sent, self.tosend) if self.num % self.stepsize: return chunk @@ -98,8 +98,8 @@ class Progress(object): M = M % 60 S = eta % 60 if self.total: - s = '%s %2d%% (ETA %02d:%02d:%02d)' % (self.info, - self.num * 100. / self.total, H, M, S) + s = '%s %2d%% (ETA %02d:%02d:%02d)' % ( + self.info, self.num * 100. / self.total, H, M, S) else: s = '%s 0%% (ETA %02d:%02d:%02d)' % (self.info, H, M, S) elif self.total: -- 2.34.1