1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-08-28 17:04:11 +02:00

use correct variable prj instead of project

This commit is contained in:
lethliel
2023-01-20 10:10:50 +01:00
parent 0a14ebe6c4
commit 18cdec2554
2 changed files with 7 additions and 1 deletions

View File

@@ -6073,7 +6073,7 @@ def delete_package(apiurl: str, prj: str, pac: str, force=False, msg=None):
def delete_project(apiurl: str, prj: str, force=False, msg=None, recursive=False):
if not recursive:
packages = meta_get_packagelist(apiurl, project)
packages = meta_get_packagelist(apiurl, prj)
if packages:
error_msg = \
"Project contains packages. It must be empty before deleting it. " \