summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-02-01 21:21:19 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-02-01 21:21:19 +0000
commit77154d817b61d1c3bcf98459d8c5f329e97767c3 (patch)
tree77ecd364e667f1e57154166ba2fa7cc2119edb52 /src
parentf26e87ab42fdb8b560862288e9278007cdf67cc8 (diff)
downloadbcfg2-77154d817b61d1c3bcf98459d8c5f329e97767c3.tar.gz
bcfg2-77154d817b61d1c3bcf98459d8c5f329e97767c3.tar.bz2
bcfg2-77154d817b61d1c3bcf98459d8c5f329e97767c3.zip
Fix bcfg2-admin pull
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2760 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rwxr-xr-xsrc/sbin/bcfg2-admin2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sbin/bcfg2-admin b/src/sbin/bcfg2-admin
index 326109bea..31c67b491 100755
--- a/src/sbin/bcfg2-admin
+++ b/src/sbin/bcfg2-admin
@@ -189,7 +189,7 @@ def do_pull(client, etype, ename):
rversion = lxml.etree.Element('ConfigFile', name=ename)
bcore.Bind(rversion, m)
current = rversion.text
- diff = entry[0].get('current_diff')[1:-1]
+ diff = entry[0].get('current_diff')
basefile = [frag for frag in \
bcore.plugins['Cfg'].entries[ename].fragments \
if frag.applies(m)][-1]