Branch: refs/heads/master
Home: https://github.com/openSUSE/osc
Commit: f2474fa7f02fa2551c35154810cdc54a15df41d8
https://github.com/openSUSE/osc/commit/f2474fa7f02fa2551c35154810cdc54a15df4...
Author: Mihai Moldovan
Date: 2022-05-30 (Mon, 30 May 2022)
Changed paths:
M osc/commandline.py
Log Message:
-----------
commandline: handle calls without arguments gracefully
Fixes the following error:
```
% osc
Traceback (most recent call last):
File "/usr/bin/osc", line 45, in <module>
r = babysitter.run(osccli)
File "/usr/lib/python3.10/site-packages/osc/babysitter.py", line 67, in run
return prg.main(argv)
File "/usr/lib/python3.10/site-packages/osc/cmdln.py", line 341, in main
self.postoptparse()
File "/usr/lib/python3.10/site-packages/osc/commandline.py", line 137, in postoptparse
if self._get_canonical_cmd_name(self.args[0]) == "help":
IndexError: list index out of range
```
Commit: 981440aa4e0a508d5f647e969d77ebe5e64b3d21
https://github.com/openSUSE/osc/commit/981440aa4e0a508d5f647e969d77ebe5e64b3...
Author: Daniel Mach
Date: 2022-05-31 (Tue, 31 May 2022)
Changed paths:
M osc/commandline.py
Log Message:
-----------
Merge pull request #1047 from Ionic/bugfix/no-cmdline-args
commandline: handle calls without arguments gracefully
Compare: https://github.com/openSUSE/osc/compare/ac6b6155750a...981440aa4e0a