summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/Cfg.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-04-27 21:07:42 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-04-27 21:07:42 +0000
commite6ce3facc910176824b629314d5b5b405d57b9b1 (patch)
treec03db122ed9c65e9aee38e976d199b96fc3be7c7 /src/lib/Server/Plugins/Cfg.py
parentd2002bbd09771560f8db380345c9c55c3abc1d38 (diff)
downloadbcfg2-e6ce3facc910176824b629314d5b5b405d57b9b1.tar.gz
bcfg2-e6ce3facc910176824b629314d5b5b405d57b9b1.tar.bz2
bcfg2-e6ce3facc910176824b629314d5b5b405d57b9b1.zip
* Fix auto-marshalling of binary cfg files
* Fix argument parsing duplication (resolves ticket #50) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1857 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugins/Cfg.py')
-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 73e078748..60f604849 100644
--- a/src/lib/Server/Plugins/Cfg.py
+++ b/src/lib/Server/Plugins/Cfg.py
@@ -184,7 +184,7 @@ class ConfigFileEntry(object):
else:
try:
entry.text = filedata
- except exceptions.AttributeError:
+ except:
logger.error("Failed to marshall file %s. Mark it as base64" % (entry.get('name')))
class Cfg(Bcfg2.Server.Plugin.Plugin):