summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/sbin/bcfg2-admin4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sbin/bcfg2-admin b/src/sbin/bcfg2-admin
index b913db6f8..9d7584d96 100755
--- a/src/sbin/bcfg2-admin
+++ b/src/sbin/bcfg2-admin
@@ -326,6 +326,10 @@ def do_pull(cfile, repopath, client, etype, ename):
elif 'current_bfile' in cfentry.attrib:
data = binascii.a2b_base64(cfentry.get('current_bfile'))
diff = False
+ else:
+ print "having trouble processing entry. Entry is:"
+ print lxml.etree.tostring(cfentry)
+ raise SystemExit, 1
if diff:
print "Located diff:\n %s" % diff