Skip to content
Snippets Groups Projects
Commit 10283bb2 authored by anonymous's avatar anonymous
Browse files

Add encoding info

parent 09007b08
Branches
Tags
No related merge requests found
# This Python file uses the following encoding: utf-8
import csv
import re
import urllib2
......@@ -178,7 +179,7 @@ def known_spatial_uri(key, data, errors, context):
data[('extras', new_index+1, 'value')] = spatial
def tag_name_validator(value, context):
tagname_match = re.compile('[\w \-.\:\(\)äöüÄÖÜß\'\`]*$', re.UNICODE)
tagname_match = re.compile('[\w \-.\:\(\)äöüÄÖÜß\´\`]*$', re.UNICODE)
if not tagname_match.match(value):
raise toolkit.Invalid(_('Tag "%s" must be alphanumeric '
'characters or symbols: -_.:()') % (value))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment