From: Tony Mack Date: Sun, 31 Oct 2010 23:17:31 +0000 (-0400) Subject: specify 'authority' type X-Git-Tag: sfa-1.0-8~3^2 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=cd6a21932d78712c3d731559ee015248c651e245;p=sfa.git specify 'authority' type --- diff --git a/sfa/plc/api.py b/sfa/plc/api.py index 57f8b9d2..2ad969fc 100644 --- a/sfa/plc/api.py +++ b/sfa/plc/api.py @@ -172,7 +172,7 @@ class SfaAPI(BaseAPI): # get self credential self_cred = registry.GetSelfCredential(cert_string, self.hrn, 'authority') # get credential - cred = registry.GetCredential(self_cred, self.hrn, type) + cred = registry.GetCredential(self_cred, self.hrn, 'authority') return Credential(string=cred) def __getCredentialRaw(self):