Skip to content

Commit

Permalink
Fix DeprecationWarning for invalid escape sequence - change to use ra…
Browse files Browse the repository at this point in the history
…w string
  • Loading branch information
richn26 committed Dec 14, 2023
1 parent 892fc27 commit 76c649b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gramps/grampsapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ def verstr(nums):

# print("xx rcs -V : " + os.system("rcs --version"))
_RCS_FOUND = str(subprocess.check_output(["rcs", "--version"]))
version = re.compile(".*GNU RCS\) ([0-9]+\.[0-9]+\.[0-9]+).*")
version = re.compile(r".*GNU RCS\) ([0-9]+\.[0-9]+\.[0-9]+).*")
rcs_ver = version.findall(_RCS_FOUND)[0]
except Exception:
rcs_ver = _("not found")
Expand Down

0 comments on commit 76c649b

Please sign in to comment.