mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-25 08:21:05 -06:00
Fix some minor issues in group and service plugins
This commit is contained in:
parent
6fa330662a
commit
4c5806b4b4
@ -411,7 +411,7 @@ class group_remove_member(Command):
|
|||||||
"""
|
"""
|
||||||
if result:
|
if result:
|
||||||
print "These entries failed to be removed from the group:"
|
print "These entries failed to be removed from the group:"
|
||||||
for a in remove_failed:
|
for a in result:
|
||||||
print "\t'%s'" % a
|
print "\t'%s'" % a
|
||||||
|
|
||||||
api.register(group_remove_member)
|
api.register(group_remove_member)
|
||||||
|
@ -116,8 +116,7 @@ class service_add(crud.Add):
|
|||||||
return ldap.create(**kw)
|
return ldap.create(**kw)
|
||||||
|
|
||||||
def output_to_cli(self, ret):
|
def output_to_cli(self, ret):
|
||||||
if ret:
|
textui.print_plain("Service added")
|
||||||
print "Service added"
|
|
||||||
|
|
||||||
api.register(service_add)
|
api.register(service_add)
|
||||||
|
|
||||||
@ -140,8 +139,7 @@ class service_del(crud.Del):
|
|||||||
return ldap.delete(dn)
|
return ldap.delete(dn)
|
||||||
|
|
||||||
def output_to_cli(self, ret):
|
def output_to_cli(self, ret):
|
||||||
if ret:
|
textui.print_plain("Service removed")
|
||||||
print "Service removed"
|
|
||||||
|
|
||||||
api.register(service_del)
|
api.register(service_del)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user