summaryrefslogtreecommitdiff
path: root/git/config.py
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2017-03-09 11:40:20 +0200
committerSebastian Thiel <byronimo@gmail.com>2017-04-09 19:59:44 +0200
commit32da7feb496ef31c48b5cbe4e37a4c68ed1b7dd5 (patch)
tree8feb952f64aa97916e2e717b905916713f2d2246 /git/config.py
parent39335e6242c93d5ba75e7ab8d7926f5a49c119a3 (diff)
downloadgitpython-32da7feb496ef31c48b5cbe4e37a4c68ed1b7dd5.tar.gz
Python 3.6 invalid escape sequence deprecation fixes
https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior
Diffstat (limited to 'git/config.py')
-rw-r--r--git/config.py2
1 files changed, 1 insertions, 1 deletions
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