From: Anil-Kumar Vengalil Date: Thu, 17 Dec 2009 16:19:50 +0000 (+0000) Subject: a minor bug-fx X-Git-Tag: sfa-0.9-7~101 X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=c6ec0c64695f34b250f38f69d0f09ff202b24a1c a minor bug-fx --- 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)