diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2011-12-14 14:35:12 -0500 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2011-12-14 14:35:12 -0500 |
commit | 4d47a27402dcd0f177d60794d508670ac111ab4a (patch) | |
tree | fd05778bf073e1b525a292ff1fc77866a3b1e5bf | |
parent | 042c1e10bdf66e6c9b54c88a49200d4f2dbff683 (diff) | |
download | bcfg2-4d47a27402dcd0f177d60794d508670ac111ab4a.tar.gz bcfg2-4d47a27402dcd0f177d60794d508670ac111ab4a.tar.bz2 bcfg2-4d47a27402dcd0f177d60794d508670ac111ab4a.zip |
fixed typo
-rw-r--r-- | src/lib/Server/Plugins/FileProbes.py | 6 |
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 |