From 1dd41ac681ff92ca98fe0b561149f2389e6cb4eb Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Tue, 1 Dec 2009 23:09:04 +0000 Subject: [PATCH] remove refrences to self --- sfa/managers/slice_manager_pl.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.47.0