From: Barış Metin Date: Tue, 5 Jan 2010 19:17:36 +0000 (+0000) Subject: cosmetic, remove unused vars. X-Git-Tag: MyPLC-4.3-37~6 X-Git-Url: http://git.onelab.eu/?p=myplc.git;a=commitdiff_plain;h=2503a8be46400efe075c91216754e3ca6d2e9f8e cosmetic, remove unused vars. --- diff --git a/plc-kml.py b/plc-kml.py index fca9de2..2a1ecf9 100755 --- 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