diff options
author | Björn Bidar | 2022-11-29 19:33:40 +0200 |
---|---|---|
committer | Björn Bidar | 2022-11-29 19:33:40 +0200 |
commit | 38ca777423d098340738068909a2d01ba982419c (patch) | |
tree | aba8c38c05f234460408f81ff97bcb1f9522601a /0002-Support-osc-copyprj-in-api-by-Islam-Amer-usage-osc-c.patch | |
parent | 176ebc28a71aa2755c6e37646c4a37c4e0a762d4 (diff) | |
download | aur-38ca777423d098340738068909a2d01ba982419c.tar.gz |
Update to 1.0.0b2-4
- Fix osc copyprj when no options were given
Signed-off-by: Björn Bidar <bjorn.bidar@thaodan.de>
Diffstat (limited to '0002-Support-osc-copyprj-in-api-by-Islam-Amer-usage-osc-c.patch')
-rw-r--r-- | 0002-Support-osc-copyprj-in-api-by-Islam-Amer-usage-osc-c.patch | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/0002-Support-osc-copyprj-in-api-by-Islam-Amer-usage-osc-c.patch b/0002-Support-osc-copyprj-in-api-by-Islam-Amer-usage-osc-c.patch index 6b518d627f68..8c0b2db449e9 100644 --- a/0002-Support-osc-copyprj-in-api-by-Islam-Amer-usage-osc-c.patch +++ b/0002-Support-osc-copyprj-in-api-by-Islam-Amer-usage-osc-c.patch @@ -8,15 +8,15 @@ Subject: [PATCH] Support 'osc copyprj' in api by Islam Amer usage: osc copyprj It can not yet be done across buildservice instances The user must be able to create DESTPRJ --- - osc/commandline.py | 53 ++++++++++++++++++++++++++++++++++++++++++++++ - osc/core.py | 28 ++++++++++++++++++++++++ - 2 files changed, 81 insertions(+) + osc/commandline.py | 52 ++++++++++++++++++++++++++++++++++++++++++++++ + osc/core.py | 28 +++++++++++++++++++++++++ + 2 files changed, 80 insertions(+) diff --git a/osc/commandline.py b/osc/commandline.py -index e00d6e68ea4eb96e8eefa14e177934a247de9b6e..f85afe3687e04eb7e5d4c05cd7c37ab060193061 100644 +index e00d6e68ea4eb96e8eefa14e177934a247de9b6e..c18b3cb3ad9369356a9d8c014ce3f7f4c9b92d1c 100644 --- a/osc/commandline.py +++ b/osc/commandline.py -@@ -3134,6 +3134,59 @@ Please submit there instead, or use --nodevelproject to force direct submission. +@@ -3134,6 +3134,58 @@ Please submit there instead, or use --nodevelproject to force direct submission. break sys.stdout.write(decode_it(buf)) @@ -47,8 +47,7 @@ index e00d6e68ea4eb96e8eefa14e177934a247de9b6e..f85afe3687e04eb7e5d4c05cd7c37ab0 + args = slash_split(args) + + if not args or len(args) != 2: -+ raise oscerr.WrongArgs('Incorrect number of arguments.\n\n' \ -+ + self.get_cmd_help('copypac')) ++ raise oscerr.WrongArgs('Incorrect number of arguments.') + + src_project = args[0] + dst_project = args[1] |