We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16c3d11 commit 7e40938Copy full SHA for 7e40938
Lib/email/policy.py
@@ -125,7 +125,7 @@ def header_source_parse(self, sourcelines):
125
126
"""
127
name, value = sourcelines[0].split(':', 1)
128
- no_first_value = value.strip() == '' and len(sourcelines) > 1
+ no_first_value = not value.strip() and len(sourcelines) > 1
129
130
value = '' if no_first_value else value.lstrip(' \t')
131
0 commit comments