this goes with previous commit
[sfa.git] / sfa / trust / credential.py
index 044d918..a9f2d1d 100644 (file)
@@ -270,7 +270,7 @@ class Credential(object):
             # if this is a legacy credential, write error and bail out
             if str.strip().startswith("-----"):
                 logger.error("Legacy credentials not supported any more - giving up with %s..."%str[:10])
-                break
+                return
             else:
                 self.xml = str
                 self.decode()