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