From 5bd9a24c5e165ecd0b61f573fd128e19223a3326 Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Thu, 1 Sep 2011 16:42:54 -0400 Subject: fixed traceback introduced by 5360af9fe752850b1647 --- src/lib/Server/Plugins/FileProbes.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/Server/Plugins/FileProbes.py b/src/lib/Server/Plugins/FileProbes.py index 4df5a7f4a..751ca529b 100644 --- a/src/lib/Server/Plugins/FileProbes.py +++ b/src/lib/Server/Plugins/FileProbes.py @@ -77,8 +77,9 @@ class FileProbes(Bcfg2.Server.Plugin.Plugin, # for which update is false; we can't possibly do # anything with the data we get from such a probe try: - if (cfg.entries[path].get_pertinent_entries(metadata) and - entry.get('update', 'false').lower() == "false"): + if (entry.get('update', 'false').lower() == "false" and + cfg.entries[path].get_pertinent_entries(entry, + metadata)): continue except (KeyError, Bcfg2.Server.Plugin.PluginExecutionError): pass -- cgit v1.2.3-1-g7c22