summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/Server/Plugins/FileProbes.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/Server/Plugins/FileProbes.py b/src/lib/Server/Plugins/FileProbes.py
index 2d64c3343..95e8c7a00 100644
--- a/src/lib/Server/Plugins/FileProbes.py
+++ b/src/lib/Server/Plugins/FileProbes.py
@@ -128,7 +128,7 @@ class FileProbes(Bcfg2.Server.Plugin.Plugin,
create = False
try:
- cfg.entries[filenames].bind_entry(entry, metadata)
+ cfg.entries[filename].bind_entry(entry, metadata)
create = True
except Bcfg2.Server.Plugin.PluginExecutionError:
pass
@@ -165,7 +165,7 @@ class FileProbes(Bcfg2.Server.Plugin.Plugin,
raise Bcfg2.Server.Plugin.PluginExecutionError
self.core.fam.handle_events_in_interval(1)
try:
- cfg.entries[filenames].bind_entry(entry, metadata)
+ cfg.entries[filename].bind_entry(entry, metadata)
is_bound = True
except Bcfg2.Server.Plugin.PluginExecutionError:
pass
@@ -186,7 +186,7 @@ class FileProbes(Bcfg2.Server.Plugin.Plugin,
self.logger.error("%s still not registered" % filename)
raise Bcfg2.Server.Plugin.PluginExecutionError
self.core.fam.handle_events_in_interval(1)
- cfg.entries[filenames].bind_entry(entry, metadata)
+ cfg.entries[filename].bind_entry(entry, metadata)
if entry.text == contents:
updated = True
tries += 1