Skip to content

Commit

Permalink
Fix a deprecation warning on a regular expression
Browse files Browse the repository at this point in the history
Fixes #38
  • Loading branch information
ale-rt committed May 17, 2020
1 parent d0155ab commit dce3393
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions news/38.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix a deprecation warning on a regular expression [ale-rt]
2 changes: 1 addition & 1 deletion plone/supermodel/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@


_marker = object()
noNS_re = re.compile('^{\S+}')
noNS_re = re.compile(r'^{\S+}')


def ns(name, prefix=XML_NAMESPACE):
Expand Down

0 comments on commit dce3393

Please sign in to comment.