Make 'circular dependency' WARN more explicitly about 1-to-1 dependencies

This commit is contained in:
jesopo 2019-06-05 19:13:44 +01:00
parent 5aa93a7de2
commit 8fe5098739

View file

@ -269,7 +269,7 @@ class ModuleManager(object):
for dep_name in deps: for dep_name in deps:
if name in definition_dependencies[dep_name]: if name in definition_dependencies[dep_name]:
self.log.warn( self.log.warn(
"Circular dependencies detected: %s<->%s", "Direct circular dependency detected: %s<->%s",
[name, dep_name]) [name, dep_name])
changed = True changed = True
# snap a circular dependence # snap a circular dependence