git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
671486a
)
dont inculde full dns name in the node hrn
author
Tony Mack
<tmack@cs.princeton.edu>
Fri, 11 Sep 2009 03:04:43 +0000
(
03:04
+0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Fri, 11 Sep 2009 03:04:43 +0000
(
03:04
+0000)
sfa/plc/sfaImport.py
patch
|
blob
|
history
diff --git
a/sfa/plc/sfaImport.py
b/sfa/plc/sfaImport.py
index
f362984
..
d6691e7
100644
(file)
--- a/
sfa/plc/sfaImport.py
+++ b/
sfa/plc/sfaImport.py
@@
-177,7
+177,7
@@
class sfaImport:
def import_node(self, parent_hrn, node):
AuthHierarchy = self.AuthHierarchy
- nodename = node['hostname'].
replace(".", "_")
+ nodename = node['hostname'].
split(".")[0]
nodename = cleanup_string(nodename)
if not nodename: