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
import script will create top level auth keys if they dont exist
[sfa.git]
/
sfa
/
importer
/
sfaImport.py
diff --git
a/sfa/importer/sfaImport.py
b/sfa/importer/sfaImport.py
index
4c5b5c7
..
568fce8
100644
(file)
--- a/
sfa/importer/sfaImport.py
+++ b/
sfa/importer/sfaImport.py
@@
-75,6
+75,8
@@
class sfaImport:
if not parent_hrn == hrn:
self.create_top_level_auth_records(parent_hrn)
if not parent_hrn == hrn:
self.create_top_level_auth_records(parent_hrn)
+ # enxure key and cert exists:
+ self.AuthHierarchy.create_top_level_auth(hrn)
# create the db record if it doesnt already exist
auth_info = self.AuthHierarchy.get_auth_info(hrn)
table = SfaTable()
# create the db record if it doesnt already exist
auth_info = self.AuthHierarchy.get_auth_info(hrn)
table = SfaTable()