From 795dcb141481982060253737dd2c03f06048c2a8 Mon Sep 17 00:00:00 2001 From: volpino Date: Tue, 24 Jul 2012 09:03:14 +0200 Subject: [PATCH] euscanwww: == None -> is None Signed-off-by: volpino --- euscanwww/djeuscan/processing/scan/scan_metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/euscanwww/djeuscan/processing/scan/scan_metadata.py b/euscanwww/djeuscan/processing/scan/scan_metadata.py index ee028d4..54dd9c4 100644 --- a/euscanwww/djeuscan/processing/scan/scan_metadata.py +++ b/euscanwww/djeuscan/processing/scan/scan_metadata.py @@ -170,7 +170,7 @@ def scan_metadata(packages=None, category=None, logger=None, populate=False): if category: packages = Package.objects.filter(category=category) - elif packages == None: + elif packages is None: packages = Package.objects.all() if populate: