diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2012-08-06 09:04:23 -0500 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2012-08-06 09:05:07 -0500 |
commit | a296172ffbb53c0cec147c470f212f6332e6281a (patch) | |
tree | 015d2653c115fd9ee3422ade1d29c5a7c8ec1e8c /src/lib/Bcfg2/Server/Plugins/SEModules.py | |
parent | b0d0cce064a93efcc86c4abcc38314f3188f4c72 (diff) | |
download | bcfg2-a296172ffbb53c0cec147c470f212f6332e6281a.tar.gz bcfg2-a296172ffbb53c0cec147c470f212f6332e6281a.tar.bz2 bcfg2-a296172ffbb53c0cec147c470f212f6332e6281a.zip |
SEModules: Fix traceback
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins/SEModules.py')
-rw-r--r-- | src/lib/Bcfg2/Server/Plugins/SEModules.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/SEModules.py b/src/lib/Bcfg2/Server/Plugins/SEModules.py index 2059baf60..a99e54bb2 100644 --- a/src/lib/Bcfg2/Server/Plugins/SEModules.py +++ b/src/lib/Bcfg2/Server/Plugins/SEModules.py @@ -39,7 +39,7 @@ class SEModules(Bcfg2.Server.Plugin.GroupSpool): def HandleEntry(self, entry, metadata): entry.set("name", self._get_module_name(entry)) - return self.Entries[entry.tag][name](entry, metadata) + return self.Entries[entry.tag][entry.get("name")](entry, metadata) def add_entry(self, event): self.filename_pattern = os.path.basename(event.filename) |