From 4c5806b4b42c63f08b286f984e4032fcefcfd1e8 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Mon, 16 Mar 2009 17:48:04 -0400 Subject: Fix some minor issues in group and service plugins --- ipalib/plugins/f_service.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'ipalib/plugins/f_service.py') diff --git a/ipalib/plugins/f_service.py b/ipalib/plugins/f_service.py index 918eef90..30195496 100644 --- a/ipalib/plugins/f_service.py +++ b/ipalib/plugins/f_service.py @@ -116,8 +116,7 @@ class service_add(crud.Add): return ldap.create(**kw) def output_to_cli(self, ret): - if ret: - print "Service added" + textui.print_plain("Service added") api.register(service_add) @@ -140,8 +139,7 @@ class service_del(crud.Del): return ldap.delete(dn) def output_to_cli(self, ret): - if ret: - print "Service removed" + textui.print_plain("Service removed") api.register(service_del) -- cgit