Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/downloadmanager.py
diff options
context:
space:
mode:
authorLucian Branescu Mihaila <lucian.branescu@gmail.com>2010-06-17 23:49:07 (GMT)
committer Lucian Branescu Mihaila <lucian.branescu@gmail.com>2010-06-17 23:49:07 (GMT)
commit87b61970631dfbe825fe9c7c2678934b37ecc880 (patch)
treebafb9a6c848f830a3ec354acc1059de2b5491697 /downloadmanager.py
parentc6b5a1509d612bfe23692ea294152df0b7cbb870 (diff)
Fix some pep8 violations.
Diffstat (limited to 'downloadmanager.py')
-rw-r--r--downloadmanager.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/downloadmanager.py b/downloadmanager.py
index 211eb77..8905cf5 100644
--- a/downloadmanager.py
+++ b/downloadmanager.py
@@ -235,7 +235,7 @@ class Download:
def onProgressChange64(self, web_progress, request, cur_self_progress,
max_self_progress, cur_total_progress,
max_total_progress):
- percent = (cur_self_progress * 100) / max_self_progress
+ percent = (cur_self_progress * 100) / max_self_progress
if (time.time() - self._last_update_time) < _MIN_TIME_UPDATE and \
(percent - self._last_update_percent) < _MIN_PERCENT_UPDATE:
@@ -386,4 +386,4 @@ class _SaveLinkProgressListener(object):
def onDataAvailable(self, request, context, inputStream, offset, count):
self._external_listener.onDataAvailable(request, context, inputStream,
- offset, count);
+ offset, count)