From 91764e05ca574d9ab72c1631ab43cf78505c73b2 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Tue, 27 Nov 2012 11:29:24 +0100 Subject: [PATCH] sfi resources with delegation turned on was broken --- sfa/client/sfi.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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) -- 2.47.0