Skip to content

Commit

Permalink
Fix deprecated regex syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
cburgdorf committed Sep 2, 2019
1 parent 6963342 commit 71c7ba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def to_package_name(dependency):
"""
Turn a dependency (e.g. "blspy>=0.1.8,<1") into the package name (e.g. "blspy")
"""
return re.sub("[!=<>](.|)+", "", dependency)
return re.sub(r"[!=<>](.|)+", "", dependency)


def filter_dependencies(package_list, *package_name):
Expand Down

0 comments on commit 71c7ba4

Please sign in to comment.