summaryrefslogtreecommitdiffstats
path: root/src/sbin
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2013-12-31 14:10:03 -0500
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2013-12-31 14:10:31 -0500
commitcfcbc4af38fdbc75c55410a71bd764771160bdfd (patch)
treefd835885a8fe1fc0278f1f368bae15d218759aa6 /src/sbin
parent06c0057f9d550f9139a3bcd4c9ecb988063f47da (diff)
downloadbcfg2-cfcbc4af38fdbc75c55410a71bd764771160bdfd.tar.gz
bcfg2-cfcbc4af38fdbc75c55410a71bd764771160bdfd.tar.bz2
bcfg2-cfcbc4af38fdbc75c55410a71bd764771160bdfd.zip
bcfg2-crypt: actually skip an element when we say we are
Diffstat (limited to 'src/sbin')
-rwxr-xr-xsrc/sbin/bcfg2-crypt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sbin/bcfg2-crypt b/src/sbin/bcfg2-crypt
index f3b96909e..5641732cd 100755
--- a/src/sbin/bcfg2-crypt
+++ b/src/sbin/bcfg2-crypt
@@ -307,6 +307,7 @@ class PropertiesDecryptor(Decryptor, PropertiesCryptoMixin):
except (Bcfg2.Encryption.EVPError, TypeError):
self.logger.error("Could not decrypt %s, skipping" %
print_xml(elt))
+ continue
try:
elt.text = decrypted.encode('ascii', 'xmlcharrefreplace')
elt.set("encrypted", pname)