Changeset 60b339b in osmose-backend


Ignore:
Timestamp:
Feb 20, 2013 8:24:12 PM (7 years ago)
Author:
Frédéric Rodrigo <frodrigo@…>
Branches:
master
Children:
a910761
Parents:
6185cd4
Message:

Fix callback on relation into analyser_osmosis_useless

File:
1 edited

Legend:

Unmodified
Added
Removed
  • analysers/analyser_osmosis_useless.py

    r1b999dc r60b339b  
    8080        self.callback10 = lambda res: {"class":1, "data":[self.node_full, self.relation_full, self.positionAsText]} 
    8181        self.callback20 = lambda res: {"class":2, "data":[self.way_full, self.relation_full if res[1] else None, self.positionAsText]} 
    82         self.callback20 = lambda res: {"class":3, "data":[self.relation_full, self.relation_full if res[1] else None, self.positionAsText]} 
     82        self.callback30 = lambda res: {"class":3, "data":[self.relation_full, self.relation_full if res[1] else None, self.positionAsText]} 
    8383 
    8484    def analyser_osmosis_all(self): 
    8585        self.run(sql10.format("", ""), self.callback10) 
    8686        self.run(sql20.format("", ""), self.callback20) 
    87         self.run(sql30.format("", ""), self.callback20) 
     87        self.run(sql30.format("", ""), self.callback30) 
    8888 
    8989    def analyser_osmosis_touched(self): 
Note: See TracChangeset for help on using the changeset viewer.