diff options
-rw-r--r-- | src/lib/Server/Plugins/Deps.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Deps.py b/src/lib/Server/Plugins/Deps.py index 79e484643..d63f0b204 100644 --- a/src/lib/Server/Plugins/Deps.py +++ b/src/lib/Server/Plugins/Deps.py @@ -53,7 +53,8 @@ class Deps(Bcfg2.Server.Plugin.PrioDir): prereqs = [] for structure in structures: for entry in structure.getchildren(): - if (entry.tag, entry.get('name')) not in entries: + if (entry.tag, entry.get('name')) not in entries \ + and not isinstance(entry, lxml.etree._Comment): entries.append((entry.tag, entry.get('name'))) entries.sort() entries = tuple(entries) |