summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2004-11-02 21:08:18 +0000
committerNarayan Desai <desai@mcs.anl.gov>2004-11-02 21:08:18 +0000
commitcd9189f0131e77f27d53498a45d104585bb5ee17 (patch)
tree9ef26700d8f29caffcaa94eec1ca769a67e466ed /src
parent982f5275d931f56bde12afed7ce4591e6109fd56 (diff)
downloadbcfg2-cd9189f0131e77f27d53498a45d104585bb5ee17.tar.gz
bcfg2-cd9189f0131e77f27d53498a45d104585bb5ee17.tar.bz2
bcfg2-cd9189f0131e77f27d53498a45d104585bb5ee17.zip
use Element instead of XML
(Logical change 1.139) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@633 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r--src/sbin/bcfg22
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sbin/bcfg2 b/src/sbin/bcfg2
index e2d7c3b8e..e630a5f29 100644
--- a/src/sbin/bcfg2
+++ b/src/sbin/bcfg2
@@ -92,7 +92,7 @@ if __name__ == '__main__':
sysexit(1)
if setup['bundle']:
- c = XML("<Configuration version='2.0'/>")
+ c = Element("Configuration", version='2.0')
for child in cfg.getroot().getchildren():
if ((child.tag == 'Bundle') and (child.attrib['name'] == setup['bundle'])):
c.append(child)