Skip to content

Commit

Permalink
revert(syntax): r <-> u;
Browse files Browse the repository at this point in the history
- Raw back to string.
  • Loading branch information
JVickery-TBS committed Jan 17, 2025
1 parent ae4ae72 commit 1845941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/recombinant/datatypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def canonicalize(dirty: Any,
# leads to unpleasantness
if primary_key:
dirty = dirty.strip()
dirty = re.sub(r'[\x00-\x1f]', '', dirty)
dirty = re.sub('[\x00-\x1f]', '', dirty)

if dstore_tag != 'text' and not primary_key and not dirty:
return None
Expand Down

0 comments on commit 1845941

Please sign in to comment.