You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
self.errors[9019005] =self.def_class(item=9019, level=3, tags=mapcss.list_('ref', 'highway'), title=mapcss.tr('validation rules Fantoir in France'))
37
41
self.errors[9019006] =self.def_class(item=9019, level=3, tags= [], title=mapcss.tr('{0} is not a valid SIREN number', mapcss._tag_uncapture(capture_tags, '{0.tag}')))
38
42
self.errors[9019007] =self.def_class(item=9019, level=3, tags= [], title=mapcss.tr('{0} is not a valid SIRET number', mapcss._tag_uncapture(capture_tags, '{0.tag}')))
43
+
self.errors[9019008] =self.def_class(item=9019, level=3, tags= [], title=mapcss.tr('{0} is not a valid code NAF/APE value', mapcss._tag_uncapture(capture_tags, '{0.tag}')))
try: match= ((mapcss._tag_capture(capture_tags, 0, tags, 'ref:FR:NAF')) and (notmapcss.regexp_test(mapcss._value_const_capture(capture_tags, 1, self.re_57169e32, '^([0-9]{2}\\.[0-9]{2}[A-Z];)*[0-9]{2}\\.[0-9]{2}[A-Z]$'), mapcss._tag_capture(capture_tags, 1, tags, 'ref:FR:NAF'))) and (mapcss.inside(self.father.config.options, 'FR')))
399
+
exceptmapcss.RuleAbort: pass
400
+
ifmatch:
401
+
# throwWarning:tr("{0} is not a valid code NAF/APE value","{0.tag}")
402
+
err.append({'class': 9019008, 'subclass': 1955725258, 'text': mapcss.tr('{0} is not a valid code NAF/APE value', mapcss._tag_uncapture(capture_tags, '{0.tag}'))})
try: match= ((mapcss._tag_capture(capture_tags, 0, tags, 'ref:FR:NAF')) and (notmapcss.regexp_test(mapcss._value_const_capture(capture_tags, 1, self.re_57169e32, '^([0-9]{2}\\.[0-9]{2}[A-Z];)*[0-9]{2}\\.[0-9]{2}[A-Z]$'), mapcss._tag_capture(capture_tags, 1, tags, 'ref:FR:NAF'))) and (mapcss.inside(self.father.config.options, 'FR')))
853
+
exceptmapcss.RuleAbort: pass
854
+
ifmatch:
855
+
# throwWarning:tr("{0} is not a valid code NAF/APE value","{0.tag}")
856
+
err.append({'class': 9019008, 'subclass': 1955725258, 'text': mapcss.tr('{0} is not a valid code NAF/APE value', mapcss._tag_uncapture(capture_tags, '{0.tag}'))})
try: match= ((mapcss._tag_capture(capture_tags, 0, tags, 'ref:FR:NAF')) and (notmapcss.regexp_test(mapcss._value_const_capture(capture_tags, 1, self.re_57169e32, '^([0-9]{2}\\.[0-9]{2}[A-Z];)*[0-9]{2}\\.[0-9]{2}[A-Z]$'), mapcss._tag_capture(capture_tags, 1, tags, 'ref:FR:NAF'))) and (mapcss.inside(self.father.config.options, 'FR')))
1129
+
exceptmapcss.RuleAbort: pass
1130
+
ifmatch:
1131
+
# throwWarning:tr("{0} is not a valid code NAF/APE value","{0.tag}")
1132
+
err.append({'class': 9019008, 'subclass': 1955725258, 'text': mapcss.tr('{0} is not a valid code NAF/APE value', mapcss._tag_uncapture(capture_tags, '{0.tag}'))})
0 commit comments