1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-09-06 21:28:42 +02:00

rdiff: Fix traceback when new project is not specified

This commit is contained in:
2023-02-01 10:37:30 +01:00
parent 9d67274bf3
commit 286db02a40
2 changed files with 29 additions and 0 deletions

View File

@@ -4200,6 +4200,9 @@ Please submit there instead, or use --nodevelproject to force direct submission.
)
ensure_no_remaining_args(args)
if not new_project:
new_project = old_project
if not new_package:
new_package = old_package