From ca7a87c44f7df0771b759334f41cc4fef78debc3 Mon Sep 17 00:00:00 2001 From: Anil-Kumar Vengalil Date: Thu, 20 Aug 2009 11:45:57 +0000 Subject: [PATCH] bug fix --- sfa/plc/slices.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sfa/plc/slices.py b/sfa/plc/slices.py index 4e0c5f75..af1a2e7f 100644 --- a/sfa/plc/slices.py +++ b/sfa/plc/slices.py @@ -187,8 +187,8 @@ class Slices(SimpleStorage): site_records = registry.resolve(credential, get_authority(hrn)) site = {} for site_record in site_records: - if record.get_type() in ['authority']: - site = record.as_dict() + if site_record.get_type() in ['authority']: + site = site_record.as_dict() if not site: raise RecordNotFound(hrn) remote_site_id = site.pop('site_id') -- 2.43.0