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:41:17 +0100
commitf3854f05cce68c5560ddfe8b595074a48eed8655 (patch)
tree139b10f44c21be5ba0a733f2645d3fc1469e0444
parent04678253ea21e26cd72ae26b8f81ca3657471abf (diff)
downloadfreeipa.git-f3854f05cce68c5560ddfe8b595074a48eed8655.tar.gz
freeipa.git-f3854f05cce68c5560ddfe8b595074a48eed8655.tar.xz
freeipa.git-f3854f05cce68c5560ddfe8b595074a48eed8655.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 d267170c..5150c9bf 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)