aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvolpino <fox91@anche.no>2013-02-23 12:28:03 +0100
committervolpino <fox91@anche.no>2013-02-23 12:29:05 +0100
commit240dec4b42be556c8d7b7b2783f2e1ec07e98c87 (patch)
tree6dea0c86fd3dab1db2e0a25f7bc8af1f426bc8e7
parentupdating TODO (diff)
downloadeuscan-240dec4b42be556c8d7b7b2783f2e1ec07e98c87.tar.gz
euscan-240dec4b42be556c8d7b7b2783f2e1ec07e98c87.tar.bz2
euscan-240dec4b42be556c8d7b7b2783f2e1ec07e98c87.zip
minor fix
Signed-off-by: volpino <fox91@anche.no>
-rw-r--r--euscanwww/djeuscan/tasks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/euscanwww/djeuscan/tasks.py b/euscanwww/djeuscan/tasks.py
index f58a544..61229da 100644
--- a/euscanwww/djeuscan/tasks.py
+++ b/euscanwww/djeuscan/tasks.py
@@ -147,7 +147,7 @@ def scan_upstream(packages=[], purge_versions=False):
"""
logger = scan_upstream.get_logger()
- if len(packages):
+ if packages:
logger.info("Starting upstream scan subtask for %d packages...",
len(packages))
else: