From: Tony Mack Date: Sun, 21 Feb 2010 04:19:34 +0000 (+0000) Subject: tabs X-Git-Tag: sfa-0.9-11~79 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=fa931808b6ba85f09845077416bc44739a781825;p=sfa.git tabs --- diff --git a/sfa/methods/resolve.py b/sfa/methods/resolve.py index 4414ee29..8920cdca 100644 --- 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: