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 committed by Corentin Chary
parent 1cf5d0726a
commit 795dcb1414

View File

@ -170,7 +170,7 @@ def scan_metadata(packages=None, category=None, logger=None, populate=False):
if category: if category:
packages = Package.objects.filter(category=category) packages = Package.objects.filter(category=category)
elif packages == None: elif packages is None:
packages = Package.objects.all() packages = Package.objects.all()
if populate: if populate: