Skip to content

Commit 1845941

Browse files
committed
revert(syntax): r <-> u;
- Raw back to string.
1 parent ae4ae72 commit 1845941

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ckanext/recombinant/datatypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def canonicalize(dirty: Any,
122122
# leads to unpleasantness
123123
if primary_key:
124124
dirty = dirty.strip()
125-
dirty = re.sub(r'[\x00-\x1f]', '', dirty)
125+
dirty = re.sub('[\x00-\x1f]', '', dirty)
126126

127127
if dstore_tag != 'text' and not primary_key and not dirty:
128128
return None

0 commit comments

Comments
 (0)