Fixed wrong logic, fixes #39220

This commit is contained in:
Luitzen van Gorkum 2017-02-07 15:14:18 +01:00
parent ab76054127
commit a4b169e0bd

View file

@ -1395,7 +1395,7 @@ def _get_line_indent(src, line, indent):
'''
Indent the line with the source line.
'''
if not (indent or line):
if not indent:
return line
idt = []