diff options
author | Calen Pennington <cpennington@wgen.net> | 2010-12-07 14:23:52 -0500 |
---|---|---|
committer | Calen Pennington <cpennington@wgen.net> | 2010-12-07 14:23:52 -0500 |
commit | 87e3123d31cebbe451f685526c37d18ce0ad509c (patch) | |
tree | b3a92f83a6335e3133f2f43c3995f3cd6769f843 /src/sbin | |
parent | 0cff753190c235a9ce65a920730d715a5e4a8ed4 (diff) | |
download | bcfg2-87e3123d31cebbe451f685526c37d18ce0ad509c.tar.gz bcfg2-87e3123d31cebbe451f685526c37d18ce0ad509c.tar.bz2 bcfg2-87e3123d31cebbe451f685526c37d18ce0ad509c.zip |
Using xpath rather than findall so that we can handle the condition correctly
Diffstat (limited to 'src/sbin')
-rwxr-xr-x | src/sbin/bcfg2-info | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sbin/bcfg2-info b/src/sbin/bcfg2-info index 497c39174..f379a51bb 100755 --- a/src/sbin/bcfg2-info +++ b/src/sbin/bcfg2-info @@ -238,7 +238,7 @@ class infoCore(cmd.Cmd, Bcfg2.Server.Core.Core): return # handle <Path type='file'> entries - for configfile in [cfile for cfile in client_config.findall(".//Path[@type = 'file']")]: + for configfile in [cfile for cfile in client_config.xpath(".//Path[@type = 'file']")]: try: write_config_file(odir, configfile) except FileNotBuilt, ex: |