Skip to content

Commit

Permalink
Fix DeprecationWarning for invalid escape sequence
Browse files Browse the repository at this point in the history
Change to use raw string.
  • Loading branch information
richn26 authored and Nick-Hall committed Feb 7, 2024
1 parent 0ef37df commit c56637a
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 c56637a

Please sign in to comment.