From: Anil-Kumar Vengalil Date: Tue, 21 Jul 2009 18:04:52 +0000 (+0000) Subject: sets the right gid for level1_auth in the genitable X-Git-Tag: sfa-0.9-0@14641~3 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;ds=sidebyside;h=935b8624757d5878af84222b1ea071abac876dc7;p=sfa.git sets the right gid for level1_auth in the genitable --- diff --git a/sfa/plc/sfa-import-plc.py b/sfa/plc/sfa-import-plc.py index d2d80c3f..8641e06a 100755 --- a/sfa/plc/sfa-import-plc.py +++ b/sfa/plc/sfa-import-plc.py @@ -282,6 +282,8 @@ def create_top_level_auth_records(hrn): if not parent_hrn: parent_hrn = hrn auth_info = AuthHierarchy.get_auth_info(parent_hrn) + if level1_auth: + auth_info = AuthHierarchy.get_auth_info(hrn) table = get_auth_table(parent_hrn) auth_record = table.resolve("authority", hrn)