Changeset 27d4d8a in osmose-backend


Ignore:
Timestamp:
May 5, 2014 9:30:16 PM (6 years ago)
Author:
Jocelyn Jaubert <jocelyn.jaubert@…>
Branches:
master
Children:
59495b9
Parents:
8006308
Message:

Fix some pyflakes issues

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • modules/OsmBin.py

    r41ef067 r27d4d8a  
    420420 
    421421if __name__=="__main__": 
    422     import sys 
    423      
    424422    if sys.argv[1]=="--init": 
    425423        InitFolder(sys.argv[2]) 
  • plugins/TagFix_Postcode.py

    rdd703c0 r27d4d8a  
    2929    def list_postcode(self): 
    3030        reline = re.compile("^[-CAN ]+$") 
    31         remline = re.compile("^[-CAN ]+ *\([-CAN ]+\)$") 
     31        # remline = re.compile("^[-CAN ]+ *\([-CAN ]+\)$") 
    3232        data = urlread("http://en.wikipedia.org/wiki/List_of_postal_codes?action=raw", 1) 
    3333        data = filter(lambda t: len(t)>2 and t[1] != "- no codes -", map(lambda x: map(lambda y: y.strip(), x.split("|"))[5:8], data.split("|-")[1:-1])) 
     
    3636            iso = line[0][0:2] 
    3737            format = line[1] 
    38             note = line[2] 
     38            # note = line[2] 
    3939 
    4040            if format[-1] == ')': 
  • tools/analyse-log.py

    r60e5972 r27d4d8a  
    33import fileinput 
    44import datetime 
    5 import sys 
    65 
    76def convert_time(string): 
Note: See TracChangeset for help on using the changeset viewer.