diff options
author | Rob Crittenden <rcritten@redhat.com> | 2011-01-10 14:21:45 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2011-01-11 10:23:31 -0500 |
commit | c7789199f9541844bf8c36a85311ba957a1c1dcb (patch) | |
tree | 2c1886530bb4465e961796f25da39bcb6bab2ee5 /ipalib/cli.py | |
parent | 06179dc105239496a7b0e55fc4a19ce576033565 (diff) | |
download | freeipa-c7789199f9541844bf8c36a85311ba957a1c1dcb.tar.gz freeipa-c7789199f9541844bf8c36a85311ba957a1c1dcb.tar.xz freeipa-c7789199f9541844bf8c36a85311ba957a1c1dcb.zip |
Fix output of failed managedby hosts, allow a host to manage itself.
The output problem was a missing label for failed managedby.
This also fixes a call to print_entry that was missing the flags argument.
Add a flag to specify whether a group can be a member of itself, defaulting
to False.
ticket 708
Diffstat (limited to 'ipalib/cli.py')
-rw-r--r-- | ipalib/cli.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/cli.py b/ipalib/cli.py index 892db8081..c5fea8f28 100644 --- a/ipalib/cli.py +++ b/ipalib/cli.py @@ -360,7 +360,7 @@ class textui(backend.Backend): continue self.print_indented(format % (label, ''), indent) self.print_entry( - value, order, labels, print_all, format, + value, order, labels, flags, print_all, format, indent=indent+1 ) else: @@ -764,7 +764,7 @@ class help(frontend.Local): mcl = self._topics[t][2][topic][1] commands = self._topics[t][2][topic][2] break - + m = '%s.%s' % (self._PLUGIN_BASE_MODULE, topic) doc = (sys.modules[m].__doc__ or '').strip() |