summaryrefslogtreecommitdiffstats
path: root/src/lib
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
commitf38409ee98490400e7ed0e5814d2a2f784bb30e0 (patch)
tree26e3ffb499c58fbc0c8093ac9d9448953078c559 /src/lib
parent355714e7f88e40af6ac2f33a1084eaf54e5237f1 (diff)
downloadbcfg2-f38409ee98490400e7ed0e5814d2a2f784bb30e0.tar.gz
bcfg2-f38409ee98490400e7ed0e5814d2a2f784bb30e0.tar.bz2
bcfg2-f38409ee98490400e7ed0e5814d2a2f784bb30e0.zip
work around stupid lxml problem
(Logical change 1.367) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1539 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Server/Plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugin.py b/src/lib/Server/Plugin.py
index 0e174375a..21130a489 100644
--- a/src/lib/Server/Plugin.py
+++ b/src/lib/Server/Plugin.py
@@ -247,4 +247,4 @@ class ScopedXMLFile(SingleXMLFileBacked):
syslog(LOG_ERR, "Failed to FetchRecord %s:%s"%(entry.tag, entry.get('name')))
else:
data = useful[-1][-1]
- entry.attrib.update(data.attrib)
+ [entry.attrib.__setitem__(x, data.attrib[x]) for x in data.attrib]