diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2006-04-27 21:07:42 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2006-04-27 21:07:42 +0000 |
commit | e6ce3facc910176824b629314d5b5b405d57b9b1 (patch) | |
tree | c03db122ed9c65e9aee38e976d199b96fc3be7c7 /src/lib/Server/Plugins/Cfg.py | |
parent | d2002bbd09771560f8db380345c9c55c3abc1d38 (diff) | |
download | bcfg2-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.py | 2 |
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): |