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:
dc022d6
)
dont forget to define user_cred
author
Tony Mack
<tmack@cs.princeton.edu>
Thu, 31 Dec 2009 21:02:59 +0000
(21:02 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Thu, 31 Dec 2009 21:02:59 +0000
(21:02 +0000)
sfa/methods/list.py
patch
|
blob
|
history
diff --git
a/sfa/methods/list.py
b/sfa/methods/list.py
index
df13965
..
727e544
100644
(file)
--- a/
sfa/methods/list.py
+++ b/
sfa/methods/list.py
@@
-31,6
+31,7
@@
class list(Method):
returns = [GeniRecord]
def call(self, cred, hrn, origin_hrn=None):
+ user_cred = Credential(string=cred)
#log the call
if not origin_hrn:
origin_hrn = user_cred.get_gid_caller().get_hrn()