this goes with previous commit
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 2 Jun 2014 14:56:23 +0000 (16:56 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 2 Jun 2014 14:56:23 +0000 (16:56 +0200)
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()