Changeset 3e3f288 in osmose-backend


Ignore:
Timestamp:
Jun 11, 2013 7:50:38 PM (6 years ago)
Author:
Jocelyn Jaubert <jocelyn.jaubert@…>
Branches:
master
Children:
a0531585
Parents:
ac93b97
git-author:
Jocelyn Jaubert <jocelyn.jaubert@…> (11/06/2013 19:50:35)
git-committer:
Jocelyn Jaubert <jocelyn.jaubert@…> (11/06/2013 19:50:38)
Message:

Fix plugin TagFix_MultipleTag_FR.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/TagFix_MultipleTag_FR.py

    r5c9bcbd r3e3f288  
    8181                    err.append((30324, 4, {"fr": "Une Zone 30 est limité à 30 km/h"})) 
    8282 
    83         if "highway" in tags and "highway" in ["motorway", "trunk", "primary", "secondary", "tertiary", "unclassified", "residential", "living_street", "path", "track", "service", "footway", "pedestrian", "cycleway", "road", "bridleway"] \ 
    84             "ref" in tags and not self.Ref.match(tags["ref"]): 
     83        if ("highway" in tags and 
     84            tags["highway"] in ["motorway", "trunk", "primary", "secondary", "tertiary", "unclassified", "residential", "living_street", "path", "track", "service", "footway", "pedestrian", "cycleway", "road", "bridleway"] and 
     85            "ref" in tags and not self.Ref.match(tags["ref"])): 
    8586            err.append((30325, 4, {"en": tags["ref"]})) 
    8687 
Note: See TracChangeset for help on using the changeset viewer.