We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae4ae72 commit 1845941Copy full SHA for 1845941
ckanext/recombinant/datatypes.py
@@ -122,7 +122,7 @@ def canonicalize(dirty: Any,
122
# leads to unpleasantness
123
if primary_key:
124
dirty = dirty.strip()
125
- dirty = re.sub(r'[\x00-\x1f]', '', dirty)
+ dirty = re.sub('[\x00-\x1f]', '', dirty)
126
127
if dstore_tag != 'text' and not primary_key and not dirty:
128
return None
0 commit comments