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:
a0ff562
)
make sure to use the type specified by the user when resolving the record
author
Tony Mack
<tmack@cs.princeton.edu>
Tue, 14 Jul 2009 20:29:20 +0000
(20:29 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Tue, 14 Jul 2009 20:29:20 +0000
(20:29 +0000)
sfa/methods/get_credential.py
patch
|
blob
|
history
diff --git
a/sfa/methods/get_credential.py
b/sfa/methods/get_credential.py
index
1c7d271
..
4e7a790
100644
(file)
--- a/
sfa/methods/get_credential.py
+++ b/
sfa/methods/get_credential.py
@@
-43,7
+43,7
@@
class get_credential(Method):
auth_hrn = hrn
auth_info = self.api.auth.get_auth_info(auth_hrn)
table = self.api.auth.get_auth_table(auth_hrn)
- records = table.resolve(
'*'
, hrn)
+ records = table.resolve(
type
, hrn)
if not records:
raise RecordNotFound(hrn)
record = records[0]