Merge "trivial: Add orientation='reverse' to find_cycle in layering"

This commit is contained in:
Zuul 2018-07-06 13:59:04 +00:00 committed by Gerrit Code Review
commit e25ea04985
1 changed files with 1 additions and 1 deletions

View File

@ -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: