From: Tony Mack Date: Mon, 28 Sep 2009 14:01:29 +0000 (+0000) Subject: dont forget to add 'authority' field to top level authority records X-Git-Tag: sfa-0.9-3~21 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=f63ea7d9968537ef96cd2abca15c6e5d0f3e56b8;p=sfa.git dont forget to add 'authority' field to top level authority records --- diff --git a/sfa/plc/sfaImport.py b/sfa/plc/sfaImport.py index e3e78443..02208a15 100644 --- a/sfa/plc/sfaImport.py +++ b/sfa/plc/sfaImport.py @@ -95,6 +95,7 @@ class sfaImport: if not auth_record: auth_record = GeniRecord(hrn=hrn, gid=auth_info.get_gid_object(), type="authority", pointer=-1) + auth_record['authority'] = get_authority(auth_record['hrn']) trace(" inserting authority record for " + hrn) table.insert(auth_record)