Skip to content
Snippets Groups Projects
Commit b0237a53 authored by Tobias Melson's avatar Tobias Melson
Browse files

Do not allow mpcdf_enable_repositories for images

parent 1f4b378d
No related branches found
No related tags found
No related merge requests found
Pipeline #220155 passed
...@@ -71,6 +71,9 @@ def do_mpcdf_enable_repositories(self, subcmd, opts, *args): ...@@ -71,6 +71,9 @@ def do_mpcdf_enable_repositories(self, subcmd, opts, *args):
else: else:
raise osc.oscerr.WrongArgs("Too many arguments") raise osc.oscerr.WrongArgs("Too many arguments")
if project.startswith("images"):
raise osc.oscerr.WrongArgs("This function is not available for packages in 'images'")
api_url = self.get_api_url() api_url = self.get_api_url()
if opts.disable: if opts.disable:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment