Changeset 159cfc6 in osmose-backend


Ignore:
Timestamp:
Nov 17, 2012 8:38:19 PM (5 years ago)
Author:
Fred <fred.rodrigo@…>
Branches:
master
Children:
34174d9
Parents:
f6433d6
Message:

Add GNS:id to DuplicateValue? black list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/TagFix_DuplicateValue.py

    ra98e220 r159cfc6  
    2929        Plugin.init(self, logger) 
    3030        self.errors[3060] = { "item": 3060, "level": 3, "tag": ["value"], "desc": {"en": u"Twice similar values", "fr": u"Valeur similaire en double"} } 
    31         self.BlackList = set(('ref', 'created_by', 'CLC:id', 'opening_hours', 'phone', 'url', 'AND_a_nosr_r', 'AND_nosr_r')) 
     31        self.BlackList = set(('ref', 'created_by', 'CLC:id', 'opening_hours', 'phone', 'url', 'AND_a_nosr_r', 'AND_nosr_r', 'GNS:id')) 
    3232        import re 
    3333        self.BlackListRegex = set((re.compile('seamark:.+:colour'), re.compile('.+_ref'), re.compile('ref:.+'))) 
Note: See TracChangeset for help on using the changeset viewer.