mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-27 07:33:54 +01:00
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:
parent
79465cfb6a
commit
e71661425c
1 changed files with 1 additions and 1 deletions
|
|
@ -858,7 +858,7 @@ class Projects(object):
|
||||||
self.read_dep_graph(args.module, args.flavour, graph)
|
self.read_dep_graph(args.module, args.flavour, graph)
|
||||||
unvisited = graph.keys()
|
unvisited = graph.keys()
|
||||||
temp = set()
|
temp = set()
|
||||||
while len(unvisited) is not 0:
|
while len(unvisited) != 0:
|
||||||
m = unvisited[0]
|
m = unvisited[0]
|
||||||
self.debug('checking circular dependency of', m)
|
self.debug('checking circular dependency of', m)
|
||||||
last = self.check_circular_deps(m, args.flavour, self.flip_graph(graph), unvisited, temp, path)
|
last = self.check_circular_deps(m, args.flavour, self.flip_graph(graph), unvisited, temp, path)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue