Univention Bugzilla – Attachment #6653: patch for bug #37155
columns = [] # name,firstname,unused2
first_lines = []
for line in reader:
if not any(cell.strip() for cell in line):
line = [cell.strip() for cell in line]
if not any(line):
# empty line
continue
writer.writerow(line)