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 (from parent 1:
a7e2b41
)
Removed printings.
author
Sandrine Avakian
<sandrine.avakian@inria.fr>
Tue, 15 Nov 2011 10:42:51 +0000
(11:42 +0100)
committer
Sandrine Avakian
<sandrine.avakian@inria.fr>
Tue, 15 Nov 2011 10:42:51 +0000
(11:42 +0100)
sfa/senslab/slab-import.py
patch
|
blob
|
history
diff --git
a/sfa/senslab/slab-import.py
b/sfa/senslab/slab-import.py
index
20d435b
..
351ecd5
100644
(file)
--- a/
sfa/senslab/slab-import.py
+++ b/
sfa/senslab/slab-import.py
@@
-160,7
+160,6
@@
def main():
#print '\r\n \t **NODE_ID %s node %s '%( node_id, node)
#continue
for node in nodes_dict:
#print '\r\n \t **NODE_ID %s node %s '%( node_id, node)
#continue
for node in nodes_dict:
- print '\r\n \t NODE_ID %s node %s '%( node_id, node)
hrn = hostname_to_hrn(interface_hrn, root_auth, node['hostname'])
if hrn not in existing_hrns or \
(hrn, 'node') not in existing_records:
hrn = hostname_to_hrn(interface_hrn, root_auth, node['hostname'])
if hrn not in existing_hrns or \
(hrn, 'node') not in existing_records:
@@
-169,7
+168,6
@@
def main():
# import persons
for person in ldap_person_list:
# import persons
for person in ldap_person_list:
- print >>sys.stderr, "\r\n\r\n^^^^^^^^^^^^^PERSON hrn %s person %s site hrn %s" %(hrn,person)
if person['hrn'] not in existing_hrns or \
(person['hrn'], 'user') not in existing_records :
import_person( person)
if person['hrn'] not in existing_hrns or \
(person['hrn'], 'user') not in existing_records :
import_person( person)