mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-25 17:36:13 +01:00
- avoid crashes for requests without repository target
This commit is contained in:
parent
7353cf99d7
commit
ada0c02f92
@ -2406,7 +2406,7 @@ class Request:
|
||||
format an action depending on the action's type.
|
||||
A dict which contains the formatted str's is returned.
|
||||
"""
|
||||
def prj_pkg_join(prj, pkg, repository):
|
||||
def prj_pkg_join(prj, pkg, repository=None):
|
||||
if not pkg:
|
||||
if not repository:
|
||||
return prj or ''
|
||||
|
Loading…
Reference in New Issue
Block a user