From 0b96292fa418c4cb3c812e870a26335dcbc1f139 Mon Sep 17 00:00:00 2001 From: Tasmin Ahmad Date: Thu, 3 Oct 2024 13:23:23 -0700 Subject: [PATCH 1/2] Fix #186 parse error due to tab in git config file --- python/Lib/ConfigParser.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/Lib/ConfigParser.py b/python/Lib/ConfigParser.py index 6cf3c2ac..cd9b94f2 100644 --- a/python/Lib/ConfigParser.py +++ b/python/Lib/ConfigParser.py @@ -436,6 +436,7 @@ def remove_section(self, section): r'\]' # ] ) OPTCRE = re.compile( + r'\s*' # ignore any starting white space r'(?P