Merge "trivial: Add orientation='reverse' to find_cycle in layering"
This commit is contained in:
commit
e25ea04985
@ -337,7 +337,7 @@ class DocumentLayering(object):
|
||||
g.add_edge(document.meta, src.meta)
|
||||
|
||||
try:
|
||||
cycle = find_cycle(g)
|
||||
cycle = find_cycle(g, orientation='reverse')
|
||||
except networkx.exception.NetworkXNoCycle:
|
||||
pass
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user