summaryrefslogtreecommitdiffstats
path: root/Lib/configparser.py
diff options
context:
space:
mode:
authorŁukasz Langa <lukasz@langa.pl>2016-11-26 22:02:48 (GMT)
committerŁukasz Langa <lukasz@langa.pl>2016-11-26 22:02:48 (GMT)
commit8fb4e421f41bda398e7d6e1f56b22d912609dc17 (patch)
tree2ed75ac39df19c04677bb6d623569d1c1111b1c6 /Lib/configparser.py
parent0264e46caa854803a5318d75ae7893e9174f3f70 (diff)
parent47a9a4bedaa343e72898b2c7534d27f3e0cf4ff5 (diff)
downloadcpython-8fb4e421f41bda398e7d6e1f56b22d912609dc17.zip
cpython-8fb4e421f41bda398e7d6e1f56b22d912609dc17.tar.gz
cpython-8fb4e421f41bda398e7d6e1f56b22d912609dc17.tar.bz2
Merge 3.5, fix for #24142
Diffstat (limited to 'Lib/configparser.py')
-rw-r--r--Lib/configparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/configparser.py b/Lib/configparser.py
index 3a9fb56..af5aca1 100644
--- a/Lib/configparser.py
+++ b/Lib/configparser.py
@@ -1102,10 +1102,10 @@ class RawConfigParser(MutableMapping):
# raised at the end of the file and will contain a
# list of all bogus lines
e = self._handle_error(e, fpname, lineno, line)
+ self._join_multiline_values()
# if any parsing errors occurred, raise an exception
if e:
raise e
- self._join_multiline_values()
def _join_multiline_values(self):
defaults = self.default_section, self._defaults