summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2005-11-28 20:18:16 +0000
committerNarayan Desai <desai@mcs.anl.gov>2005-11-28 20:18:16 +0000
commite57af5d12a6465ddff3d23443eb4a98d18aaef4c (patch)
tree1bb52478102cf8675661885ba500856800b8f938 /src/lib/Server/Plugins
parentf38409ee98490400e7ed0e5814d2a2f784bb30e0 (diff)
downloadbcfg2-e57af5d12a6465ddff3d23443eb4a98d18aaef4c.tar.gz
bcfg2-e57af5d12a6465ddff3d23443eb4a98d18aaef4c.tar.bz2
bcfg2-e57af5d12a6465ddff3d23443eb4a98d18aaef4c.zip
workaround stupid lxml bug
(Logical change 1.367) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1540 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugins')
-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 85ad41d94..ea41791a9 100644
--- a/src/lib/Server/Plugins/Cfg.py
+++ b/src/lib/Server/Plugins/Cfg.py
@@ -190,7 +190,7 @@ class ConfigFileEntry(object):
lines.append(line[1:])
filedata = "\n".join(lines) + "\n"
- entry.attrib.update(self.metadata)
+ [entry.attrib.__setitem__(x,y) for (x,y) in self.metadata.iteritems()]
if self.paranoid:
entry.attrib['paranoid'] = 'true'
if self.metadata['encoding'] == 'base64':