Skip to content

Commit 562e079

Browse files
committed
Fix DeprecationWarning: invalid escape sequence in versioneer.py
Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
1 parent cb31b2b commit 562e079

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

versioneer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ def run_command(commands, args, cwd=None, verbose=False, hide_stderr=False):
464464
print("unable to run %s (error)" % dispcmd)
465465
return None
466466
return stdout
467-
LONG_VERSION_PY['git'] = '''
467+
LONG_VERSION_PY['git'] = r'''
468468
# This file helps to compute a version number in source trees obtained from
469469
# git-archive tarball (such as those provided by githubs download-from-tag
470470
# feature). Distribution tarballs (built by setup.py sdist) and build

0 commit comments

Comments
 (0)