summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAna Krivokapic <akrivoka@redhat.com>2013-03-18 07:57:00 -0400
committerMartin Kosek <mkosek@redhat.com>2013-03-18 14:40:54 +0100
commit5f6310ecc6b5747fd9f8b35786ece5e3b26789d3 (patch)
treecfb653dfa0462ce3f14d7f8be94ea98a1e4008c5
parent8de6c3fa90e44ab3a157d5022f532e5604b0bfe2 (diff)
downloadfreeipa-5f6310ecc6b5747fd9f8b35786ece5e3b26789d3.tar.gz
freeipa-5f6310ecc6b5747fd9f8b35786ece5e3b26789d3.tar.xz
freeipa-5f6310ecc6b5747fd9f8b35786ece5e3b26789d3.zip
Fix internal error for ipa show-mappings
The run() method of the show_mappings command was missing the **options parameter in its signature, causing the ipa show-mappings to fail with an internal error.
-rw-r--r--ipalib/cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/cli.py b/ipalib/cli.py
index e379f073a..d5a5b8429 100644
--- a/ipalib/cli.py
+++ b/ipalib/cli.py
@@ -850,7 +850,7 @@ class show_mappings(frontend.Command):
)
has_output = tuple()
- def run(self, command_name):
+ def run(self, command_name, **options):
command_name = from_cli(command_name)
if command_name not in self.Command:
raise CommandError(name=command_name)