summaryrefslogtreecommitdiffstats
path: root/src/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'src/sbin')
-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]