Changeset 601880b in osmose-backend


Ignore:
Timestamp:
Jan 6, 2013 5:49:18 PM (7 years ago)
Author:
Jocelyn Jaubert <jocelyn.jaubert@…>
Branches:
master
Children:
a910761
Parents:
147c227
git-author:
Jocelyn Jaubert <jocelyn.jaubert@…> (06/01/2013 17:36:28)
git-committer:
Jocelyn Jaubert <jocelyn.jaubert@…> (06/01/2013 17:49:18)
Message:

Fix switch to ErrorFile? on analyser_osmbin_open_relations.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • analysers/analyser_osmbin_open_relations.py

    r58818f5 r601880b  
    6262    def __init__(self, config, bin): 
    6363        self.bin = bin 
    64         self.error_file = OsmoseErrorFile.ErrorFile() 
    65         self.error_file.begin(config) 
     64        self.error_file = OsmoseErrorFile.ErrorFile(config) 
     65        self.error_file.begin() 
    6666        self.error_file.analyser() 
    6767        self.error_file.classs(1, 6010, 1, ["geom","boundary"], {"fr": "Relation ouverte", "en": "Open relation"}) 
     
    9494            ndata = self.bin.NodeGet(nid) 
    9595            if ndata: 
    96                 self.error_file.error(classs, subclass, None, None, None, None, { 
     96                self.error_file.error(classs, None, None, None, None, None, { 
    9797                    "position": [{"lat":str(ndata["lat"]),"lon":str(ndata["lon"])}], 
    9898                    "node": [ndata], 
Note: See TracChangeset for help on using the changeset viewer.