fix backtrace

This commit is contained in:
Arjan van de Ven
2019-04-20 17:07:54 +00:00
parent 168c9b8606
commit 7b08135720
+1 -1
View File
@@ -158,7 +158,7 @@ def zap_plus_line_in_file(filename):
def chunk_empty(chunk):
for line in chunk:
if line[0] == '+':
if len(line) > 0 and line[0] == '+':
return False
return True