From c6ec0c64695f34b250f38f69d0f09ff202b24a1c Mon Sep 17 00:00:00 2001 From: Anil-Kumar Vengalil Date: Thu, 17 Dec 2009 16:19:50 +0000 Subject: [PATCH] a minor bug-fx --- sfa/managers/aggregate_manager_pl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sfa/managers/aggregate_manager_pl.py b/sfa/managers/aggregate_manager_pl.py index 212699be..f8249317 100644 --- a/sfa/managers/aggregate_manager_pl.py +++ b/sfa/managers/aggregate_manager_pl.py @@ -52,8 +52,8 @@ def get_ticket(api, slice_hrn, rspec, origin_hrn=None): # make sure we get a local slice record record = None for tmp_record in records: - if record['type'] == 'slice' and \ - not record['peer_authority']: + if tmp_record['type'] == 'slice' and \ + not tmp_record['peer_authority']: record = SliceRecord(dict=tmp_record) if not record: raise RecordNotFound(slice_hrn) -- 2.43.0