euscanwww: == None -> is None
Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
parent
1cf5d0726a
commit
795dcb1414
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user