From cfcbc4af38fdbc75c55410a71bd764771160bdfd Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Tue, 31 Dec 2013 14:10:03 -0500 Subject: bcfg2-crypt: actually skip an element when we say we are --- src/sbin/bcfg2-crypt | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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) -- cgit v1.2.3-1-g7c22