From 32da7feb496ef31c48b5cbe4e37a4c68ed1b7dd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Thu, 9 Mar 2017 11:40:20 +0200 Subject: Python 3.6 invalid escape sequence deprecation fixes https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior --- git/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git/config.py') diff --git a/git/config.py b/git/config.py index cd2f10f9..7d962276 100644 --- a/git/config.py +++ b/git/config.py @@ -169,7 +169,7 @@ class GitConfigParser(with_metaclass(MetaParserBuilder, cp.RawConfigParser, obje # They must be compatible to the LockFile interface. # A suitable alternative would be the BlockingLockFile t_lock = LockFile - re_comment = re.compile('^\s*[#;]') + re_comment = re.compile(r'^\s*[#;]') #} END configuration -- cgit v1.2.1