git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
babf338
)
specify 'authority' type
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Sun, 31 Oct 2010 23:16:10 +0000
(19:16 -0400)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Sun, 31 Oct 2010 23:16:10 +0000
(19:16 -0400)
sfa/plc/api.py
patch
|
blob
|
history
diff --git
a/sfa/plc/api.py
b/sfa/plc/api.py
index
af416d7
..
57f8b9d
100644
(file)
--- a/
sfa/plc/api.py
+++ b/
sfa/plc/api.py
@@
-170,7
+170,7
@@
class SfaAPI(BaseAPI):
registry = registries[self.hrn]
cert_string=self.cert.save_to_string(save_parents=True)
# get self credential
- self_cred = registry.GetSelfCredential(cert_string, self.hrn,
type
)
+ self_cred = registry.GetSelfCredential(cert_string, self.hrn,
'authority'
)
# get credential
cred = registry.GetCredential(self_cred, self.hrn, type)
return Credential(string=cred)