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:
865e6cb
)
tabs
author
Tony Mack
<tmack@cs.princeton.edu>
Sun, 21 Feb 2010 04:19:34 +0000
(
04:19
+0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Sun, 21 Feb 2010 04:19:34 +0000
(
04:19
+0000)
sfa/methods/resolve.py
patch
|
blob
|
history
diff --git
a/sfa/methods/resolve.py
b/sfa/methods/resolve.py
index
4414ee2
..
8920cdc
100644
(file)
--- a/
sfa/methods/resolve.py
+++ b/
sfa/methods/resolve.py
@@
-31,9
+31,9
@@
class resolve(Method):
def call(self, cred, xrns, origin_hrn=None):
user_cred = Credential(string=cred)
- if not isinstance(xrns, types.ListType):
- xrns=[xrns]
- hrns = [urn_to_hrn(xrn)[0] for xrn in xrns]
+
if not isinstance(xrns, types.ListType):
+
xrns=[xrns]
+
hrns = [urn_to_hrn(xrn)[0] for xrn in xrns]
#log the call
if not origin_hrn: