From 240dec4b42be556c8d7b7b2783f2e1ec07e98c87 Mon Sep 17 00:00:00 2001 From: volpino Date: Sat, 23 Feb 2013 12:28:03 +0100 Subject: minor fix Signed-off-by: volpino --- euscanwww/djeuscan/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3-65-gdbad