diff options
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins/Deps.py')
-rw-r--r-- | src/lib/Bcfg2/Server/Plugins/Deps.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Deps.py b/src/lib/Bcfg2/Server/Plugins/Deps.py index fa821aad3..a4fe7aa91 100644 --- a/src/lib/Bcfg2/Server/Plugins/Deps.py +++ b/src/lib/Bcfg2/Server/Plugins/Deps.py @@ -33,7 +33,7 @@ class Deps(Bcfg2.Server.Plugin.PrioDir, if tag.startswith('Bound'): tag = tag[5:] if ((tag, entry.get('name')) not in entries - and not isinstance(entry, lxml.etree._Comment)): + and not isinstance(entry, lxml.etree._Comment)): entries.append((tag, entry.get('name'))) entries.sort() entries = tuple(entries) @@ -74,10 +74,10 @@ class Deps(Bcfg2.Server.Plugin.PrioDir, prio = [int(m[0].priority) for m in matching] if prio.count(max(prio)) > 1: raise PluginExecutionError( - "Deps: Found conflicting dependencies with same " - "priority for %s:%s for %s: %s" % - (entry.tag, entry.get("name"), - metadata.hostname, [m[0].name for m in matching])) + "Deps: Found conflicting dependencies with same " + "priority for %s:%s for %s: %s" % + (entry.tag, entry.get("name"), + metadata.hostname, [m[0].name for m in matching])) index = prio.index(max(prio)) matching = [matching[index]] if not matching: |