From: Thierry Parmentelat Date: Tue, 27 Nov 2012 10:29:24 +0000 (+0100) Subject: sfi resources with delegation turned on was broken X-Git-Tag: sfa-2.1-18~6 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=91764e05ca574d9ab72c1631ab43cf78505c73b2;p=sfa.git sfi resources with delegation turned on was broken --- diff --git a/sfa/client/sfi.py b/sfa/client/sfi.py index cd22393d..86e4ba64 100644 --- a/sfa/client/sfi.py +++ b/sfa/client/sfi.py @@ -1064,11 +1064,13 @@ or with an slice hrn, shows currently provisioned resources # set creds creds = [] if args: - creds.append(self.slice_credential_string(args[0])) + the_credential=self.slice_credential_string(args[0]) + creds.append(the_credential) else: - creds.append(self.my_credential_string) + the_credential=self.my_credential_string + creds.append(the_credential) if options.delegate: - creds.append(self.delegate_cred(cred, get_authority(self.authority))) + creds.append(self.delegate_cred(the_credential, get_authority(self.authority))) if options.show_credential: show_credentials(creds)