1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 06:46:15 +01:00

Slash split arguments in do_browse

Without the slash splitting, "osc browse prj/pkg" interprets the
argument as a project, which is wrong. Hence, perform the slash
splitting (as most commands do).
This commit is contained in:
Marcus Huewe 2021-07-13 15:55:31 +02:00
parent dfdf07b228
commit 0963bc690f

View File

@ -4474,6 +4474,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
"""
apiurl = self.get_api_url()
args = slash_split(args)
package = None
if len(args) == 1: