euscanwww: == None -> is None

Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
volpino 2012-07-24 09:03:14 +02:00
parent cc7c378648
commit 266838b308

View File

@ -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: