1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-11-11 16:35:35 +01:00

Add 'git-obs pr' command

This commit is contained in:
2025-01-14 16:16:20 +01:00
parent 166cadb31b
commit 124528e68b
13 changed files with 795 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
import os
import subprocess
import sys
import osc.commandline_common
@@ -132,7 +133,9 @@ def main():
except oscerr.OscBaseError as e:
print_msg(str(e), print_to="error")
sys.exit(1)
except subprocess.CalledProcessError as e:
print_msg(str(e), print_to="error")
sys.exit(1)
if __name__ == "__main__":
main()