summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/Cfg.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Server/Plugins/Cfg.py')
-rw-r--r--src/lib/Server/Plugins/Cfg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Cfg.py b/src/lib/Server/Plugins/Cfg.py
index a5c19e8fd..da2cb1b59 100644
--- a/src/lib/Server/Plugins/Cfg.py
+++ b/src/lib/Server/Plugins/Cfg.py
@@ -117,7 +117,7 @@ class CfgEntrySet(Bcfg2.Server.Plugin.EntrySet):
if not base_files:
logger.error("No base file found for %s" % entry.get('name'))
raise Bcfg2.Server.Plugin.PluginExecutionError
- base = min(non_delta)
+ base = min(base_files)
used = matching[:base + 1]
used.reverse()
return used