git://git.onelab.eu
/
myplc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2to3 on accessory scripts
[myplc.git]
/
bin
/
plc-kml.py
diff --git
a/bin/plc-kml.py
b/bin/plc-kml.py
index
5096a79
..
b9b78d4
100755
(executable)
--- a/
bin/plc-kml.py
+++ b/
bin/plc-kml.py
@@
-107,11
+107,11
@@
class KmlMap:
try:
nodegroup=GetNodeGroups({'groupname':self.options.nodegroup})[0]
except:
try:
nodegroup=GetNodeGroups({'groupname':self.options.nodegroup})[0]
except:
- print
"No such nodegroup %s - ignored"%self.options.nodegroup
+ print
("No such nodegroup %s - ignored"%self.options.nodegroup)
return
nodegroup_node_ids=nodegroup['node_ids']
if len(nodegroup_node_ids)==0:
return
nodegroup_node_ids=nodegroup['node_ids']
if len(nodegroup_node_ids)==0:
- print
"Empty nodegroup %s - ignored"%self.options.nodegroup
+ print
("Empty nodegroup %s - ignored"%self.options.nodegroup)
return
# let's go
self.open()
return
# let's go
self.open()