summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2011-08-22 08:49:37 -0500
committerSol Jerome <sol.jerome@gmail.com>2011-08-22 08:49:37 -0500
commitefbeacdd1bf3ab907a906bff1b9caf76f142a6e8 (patch)
tree3782075b26e9c7f9fd9c5197888c1a3026442ae7 /src/lib/Server/Plugins
parent5360af9fe752850b164717f516afc6254bb6779a (diff)
downloadbcfg2-efbeacdd1bf3ab907a906bff1b9caf76f142a6e8.tar.gz
bcfg2-efbeacdd1bf3ab907a906bff1b9caf76f142a6e8.tar.bz2
bcfg2-efbeacdd1bf3ab907a906bff1b9caf76f142a6e8.zip
Cfg: Fix traceback caused by previous commit
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'src/lib/Server/Plugins')
-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