projects.py: Fix integer comparison

Python 3.8 complains about integers compared with 'is not'
instead of '!=', fix that

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2020-03-19 17:34:35 +00:00
commit e71661425c

View file

@ -858,7 +858,7 @@ class Projects(object):
self.read_dep_graph(args.module, args.flavour, graph)
unvisited = graph.keys()
temp = set()
while len(unvisited) is not 0:
while len(unvisited) != 0:
m = unvisited[0]
self.debug('checking circular dependency of', m)
last = self.check_circular_deps(m, args.flavour, self.flip_graph(graph), unvisited, temp, path)