From 810a1ca794cad229d2cbc6ed7181a4f4d8d3fbc7 Mon Sep 17 00:00:00 2001 From: Silvie Chlupova Date: Thu, 12 Aug 2021 16:24:56 +0200 Subject: [PATCH] Disable dnf playground command = changelog = msg: playground command doesn't work type: bugfix related: https://bugzilla.redhat.com/show_bug.cgi?id=1955907 Conflict:NA Reference:https://github.com/rpm-software-management/dnf-plugins-core/commit/810a1ca794cad229d2cbc6ed7181a4f4d8d3fbc7 --- plugins/copr.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/copr.py b/plugins/copr.py index 5cf17ef2..3cd6558b 100644 --- a/plugins/copr.py +++ b/plugins/copr.py @@ -117,6 +117,8 @@ def set_argparser(parser): parser.add_argument('arg', nargs='*') def configure(self): + if self.cli.command.opts.command != "copr": + return copr_hub = None copr_plugin_config = ConfigParser() config_files = [] @@ -681,6 +683,7 @@ def set_argparser(parser): choices=['enable', 'disable', 'upgrade']) def run(self): + raise dnf.exceptions.Error("Playground is temporarily unsupported") subcommand = self.opts.subcommand[0] chroot = self._guess_chroot() if subcommand == "enable":