Changeset 2cda4d5 in osmose-backend


Ignore:
Timestamp:
Mar 5, 2013 11:08:44 PM (7 years ago)
Author:
Frédéric Rodrigo <frodrigo@…>
Branches:
master
Children:
2acbe50
Parents:
8a6e4c6
git-author:
Frédéric Rodrigo <frodrigo@…> (20/02/2013 20:24:12)
git-committer:
Frédéric Rodrigo <frodrigo@…> (05/03/2013 23:08:44)
Message:

Fix callback on relation into analyser_osmosis_useless

File:
1 edited

Legend:

Unmodified
Added
Removed
  • analysers/analyser_osmosis_useless.py

    r1b999dc r2cda4d5  
    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.