Skip to content

Commit e71dfe1

Browse files
committed
Fix minor deprecation warning
1 parent 7c5e1cc commit e71dfe1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/update_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def replace_in_file(filepath, regex, sub):
2626

2727
about_file = os.path.join(dir_path, os.pardir, "pygeodiff", "__about__.py")
2828
print("patching " + about_file)
29-
replace_in_file(about_file, "__version__\s=\s\".*", "__version__ = \"" + ver + "\"")
29+
replace_in_file(about_file, r'__version__\s=\s".*', r'__version__ = "' + ver + '"')
3030

3131
pyproject_file = os.path.join(dir_path, os.pardir, "pyproject.toml")
3232
print("patching " + pyproject_file)

0 commit comments

Comments
 (0)