X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fplc%2Fsfa-import-plc.py;h=d57b4b8677c4c16f39d1f74c9c7cc1316eafa125;hb=e1b7c62235361b21bbf98f66ac5088a29d1f28b1;hp=0781a605b7174224f2e19772057e7ebe39151a57;hpb=57b6a99255d4a88be9c0f910f8524677e34ff4bc;p=sfa.git diff --git a/sfa/plc/sfa-import-plc.py b/sfa/plc/sfa-import-plc.py index 0781a605..d57b4b86 100755 --- a/sfa/plc/sfa-import-plc.py +++ b/sfa/plc/sfa-import-plc.py @@ -169,12 +169,8 @@ def main(): continue node = nodes_dict[node_id] site_auth = get_authority(site_hrn) - print 'site_auth',site_auth site_name = get_leaf(site_hrn) hrn = hostname_to_hrn(site_auth, site_name, node['hostname']) - print 'site_name',site_name - print 'node hostname',node['hostname'] - print 'hrn',hrn if hrn not in existing_hrns or \ (hrn, 'node') not in existing_records: sfaImporter.import_node(hrn, node)