|
|
@ -152,6 +152,7 @@ def user_action(hunk: Sequence[Command], context=None) -> Sequence[Command]:
|
|
|
|
for line in tmpfile.file.readlines():
|
|
|
|
for line in tmpfile.file.readlines():
|
|
|
|
if line == '':
|
|
|
|
if line == '':
|
|
|
|
continue
|
|
|
|
continue
|
|
|
|
|
|
|
|
line = line.rstrip('\n')
|
|
|
|
parts = line.split('\t', maxsplit=2)
|
|
|
|
parts = line.split('\t', maxsplit=2)
|
|
|
|
# Change user to None if it is not specified
|
|
|
|
# Change user to None if it is not specified
|
|
|
|
parts[0] = parts[0].strip() if parts[0].strip() != '' else None
|
|
|
|
parts[0] = parts[0].strip() if parts[0].strip() != '' else None
|
|
|
|