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
(from parent 1:
10d96ed
)
compute hash belongs to api.key not api
sfa-0.9-6
author
Tony Mack
<tmack@cs.princeton.edu>
Tue, 24 Nov 2009 17:23:39 +0000
(17:23 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Tue, 24 Nov 2009 17:23:39 +0000
(17:23 +0000)
sfa/methods/list.py
patch
|
blob
|
history
diff --git
a/sfa/methods/list.py
b/sfa/methods/list.py
index
c49223d
..
4bd3496
100644
(file)
--- a/
sfa/methods/list.py
+++ b/
sfa/methods/list.py
@@
-62,7
+62,7
@@
class list(Method):
records = [GeniRecord(dict=record).as_dict() for record in record_list]
except:
arg_list = [credential, hrn]
- request_hash = self.api.compute_hash(arg_list)
+ request_hash = self.api.
key.
compute_hash(arg_list)
record_list = registries[registry_hrn].list(credential, hrn, request_hash, caller_cred)
records = [GeniRecord(dict=record).as_dict() for record in record_list]