Michał Górny  committed b3c8572

Fix lack of bool() for filter() in Python3.


  • Participants
  • Parent commits 950bd72

Comments (0)

Files changed (1)

File smartliverebuild/

 	except SLRFailure:
 		return 1
-	if not packages and not filter(lambda a: not a.startswith('-'), args):
+	if not packages and not any(filter(lambda a: not a.startswith('-'), args)):
 		return 0
 	if opts.pretend: