fixes
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 25 Sep 2012 12:22:18 +0000 (14:22 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 25 Sep 2012 12:22:18 +0000 (14:22 +0200)
clientbin/sfadump.py
sfa/trust/auth.py

index 59dd38c..b366aec 100755 (executable)
@@ -13,7 +13,7 @@ from sfa.trust.certificate import Certificate
 from sfa.trust.credential import Credential
 from sfa.trust.gid import GID
 
-from sfa.storage.record import SfaRecord
+from sfa.storage.record import Record
 
 def determine_sfa_filekind(fn):
 
index b88a472..31853ed 100644 (file)
@@ -44,6 +44,7 @@ class Auth:
         if not isinstance(creds, list):
             creds = [creds]
         logger.debug("Auth.checkCredentials with %d creds"%len(creds))
+        error=[ "no credential","was given"]
         for cred in creds:
             for hrn in hrns:
                 try: