diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-05-07 11:23:37 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-05-07 11:23:37 -0400 |
commit | afd622604f9ec4360d50b6e32b11fc66e44d62a1 (patch) | |
tree | 616a532d104186b8f444a67e7ec806880003afbd /b4/command.py | |
parent | 82c37bbbebae6678b68580ae11a161223a8ed7b4 (diff) | |
download | b4-afd622604f9ec4360d50b6e32b11fc66e44d62a1.tar.gz |
Do not crash when thread is incomplete
Do not try to calculate indexes on a missing patch in an incomplete
thread.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Diffstat (limited to 'b4/command.py')
-rw-r--r-- | b4/command.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/b4/command.py b/b4/command.py index 39ad3e5..54b79f5 100644 --- a/b4/command.py +++ b/b4/command.py @@ -61,7 +61,9 @@ def cmd_ty(cmdargs): def cmd(): + # noinspection PyTypeChecker parser = argparse.ArgumentParser( + prog='b4', description='A tool to work with public-inbox patches', formatter_class=argparse.ArgumentDefaultsHelpFormatter, ) |