jcholast's pull request #54: "cli: use full name when executing a command" was opened
PR body: """ Fixes the CLI not to always call the default version of a command even when the version was explicitly specified. https://fedorahosted.org/freeipa/ticket/6279 """ See the full pull-request at https://github.com/freeipa/freeipa/pull/54 ... or pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/54/head:pr54 git checkout pr54
From 5c7b7050ad519387c24809208b690ebb8c49cd56 Mon Sep 17 00:00:00 2001 From: Jan Cholasta <[email protected]> Date: Mon, 5 Sep 2016 10:18:13 +0200 Subject: [PATCH] cli: use full name when executing a command Fixes the CLI not to always call the default version of a command even when the version was explicitly specified. https://fedorahosted.org/freeipa/ticket/6279 --- ipalib/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipalib/cli.py b/ipalib/cli.py index d89a532..df9e6cf 100644 --- a/ipalib/cli.py +++ b/ipalib/cli.py @@ -1101,7 +1101,7 @@ def run(self, argv): cmd = self.get_command(argv) if cmd is None: return - name = cmd.name + name = cmd.full_name kw = self.parse(cmd, argv[1:]) if not isinstance(cmd, frontend.Local): self.create_context()
-- Manage your subscription for the Freeipa-devel mailing list: https://www.redhat.com/mailman/listinfo/freeipa-devel Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code
