git://git.onelab.eu
/
myplc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f4dc9b
)
cosmetic, remove unused vars.
author
Barış Metin
<Talip-Baris.Metin@sophia.inria.fr>
Tue, 5 Jan 2010 19:17:36 +0000
(19:17 +0000)
committer
Barış Metin
<Talip-Baris.Metin@sophia.inria.fr>
Tue, 5 Jan 2010 19:17:36 +0000
(19:17 +0000)
plc-kml.py
patch
|
blob
|
history
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