From: Tony Mack Date: Tue, 1 Dec 2009 23:09:04 +0000 (+0000) Subject: remove refrences to self X-Git-Tag: sfa-0.9-7~232 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=1dd41ac681ff92ca98fe0b561149f2389e6cb4eb;p=sfa.git remove refrences to self --- diff --git a/sfa/managers/slice_manager_pl.py b/sfa/managers/slice_manager_pl.py index f1be463a..90042f3d 100644 --- a/sfa/managers/slice_manager_pl.py +++ b/sfa/managers/slice_manager_pl.py @@ -38,7 +38,7 @@ def delete_slice(api, hrn, caller_cred=None): if not success: try: arg_list = [credential, hrn] - request_hash = self.api.key.compute_hash(arg_list) + request_hash = api.key.compute_hash(arg_list) aggregates[aggregate].delete_slice(credential, hrn, request_hash, caller_cred) success = True except: @@ -72,7 +72,6 @@ def create_slice(api, hrn, rspec, caller_cred=None): rspecs[net_hrn] = tempspec.toxml() # send each rspec to the appropriate aggregate/sm - caller_cred = self.caller_cred for net_hrn in rspecs: try: # if we are directly connected to the aggregate then we can just