summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTim Laszlo <tim.laszlo@gmail.com>2011-05-11 11:37:18 -0500
committerTim Laszlo <tim.laszlo@gmail.com>2011-05-11 11:37:18 -0500
commit7a03a93da1701fd14a7c7195b01557ba3e6b24c5 (patch)
treec86657ba326b447f0295b110777be7d2764d3e1f /src
parente51bcb3562731d5000977a6aa74f6f6f1fb068fe (diff)
downloadbcfg2-7a03a93da1701fd14a7c7195b01557ba3e6b24c5.tar.gz
bcfg2-7a03a93da1701fd14a7c7195b01557ba3e6b24c5.tar.bz2
bcfg2-7a03a93da1701fd14a7c7195b01557ba3e6b24c5.zip
Cfg: Fix PluginExecutionError
Replaces PluginExecutionError with Bcfg2.Server.Plugin.PluginExecutionError. Reported by emias.
Diffstat (limited to 'src')
-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 41cf6c9c1..998bacc19 100644
--- a/src/lib/Server/Plugins/Cfg.py
+++ b/src/lib/Server/Plugins/Cfg.py
@@ -187,7 +187,7 @@ class CfgEntrySet(Bcfg2.Server.Plugin.EntrySet):
name = self.build_filename(specific)
if name.endswith(".genshi"):
logger.error("Cfg: Unable to pull data for genshi types")
- raise PluginExecutionError
+ raise Bcfg2.Server.Plugin.PluginExecutionError
open(name, 'w').write(new_entry['text'])
if log:
logger.info("Wrote file %s" % name)