From ba4f63898809aebbfcdeb1546ccd2b53c7f3f7c2 Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Fri, 6 Sep 2013 10:38:55 -0500 Subject: Pylint/PEP8 fixes Signed-off-by: Sol Jerome --- src/lib/Bcfg2/Server/Plugins/Deps.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/lib/Bcfg2/Server/Plugins/Deps.py') 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: -- cgit v1.2.3-1-g7c22