git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
no change - prettyfied
[sfa.git]
/
sfa
/
importer
/
plimporter.py
diff --git
a/sfa/importer/plimporter.py
b/sfa/importer/plimporter.py
index
bb1213d
..
b4f9237
100644
(file)
--- a/
sfa/importer/plimporter.py
+++ b/
sfa/importer/plimporter.py
@@
-193,7
+193,7
@@
class PlImporter:
self.create_special_vini_record (interface_hrn)
# Get top authority record
self.create_special_vini_record (interface_hrn)
# Get top authority record
- top_auth_record
=
self.locate_by_type_hrn ('authority', root_auth)
+ top_auth_record
=
self.locate_by_type_hrn ('authority', root_auth)
admins = []
# start importing
admins = []
# start importing
@@
-209,7
+209,7
@@
class PlImporter:
site_hrn = site['hrn']
# import if hrn is not in list of existing hrns or if the hrn exists
# but its not a site record
site_hrn = site['hrn']
# import if hrn is not in list of existing hrns or if the hrn exists
# but its not a site record
- site_record
=
self.locate_by_type_hrn ('authority', site_hrn)
+ site_record
=
self.locate_by_type_hrn ('authority', site_hrn)
if not site_record:
try:
urn = hrn_to_urn(site_hrn, 'authority')
if not site_record:
try:
urn = hrn_to_urn(site_hrn, 'authority')