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
reordering steps before moving stuff to PLCAPI
[myplc.git]
/
plc-kml.py
diff --git
a/plc-kml.py
b/plc-kml.py
index
fca9de2
..
2a1ecf9
100755
(executable)
--- a/
plc-kml.py
+++ b/
plc-kml.py
@@
-39,11
+39,8
@@
class KmlMap:
# mention local last
@staticmethod
def site_compare (s1,s2):
- n1=s1['name']
- n2=s2['name']
- p1=0
+ p1 = p2 = 0
if s1['peer_id']: p1=s1['peer_id']
- p2=0
if s2['peer_id']: p2=s2['peer_id']
return p2-p1