diff --git a/ipaclient/plugins/misc.py b/ipaclient/plugins/misc.py index f3d63266e..05fc54214 100644 --- a/ipaclient/plugins/misc.py +++ b/ipaclient/plugins/misc.py @@ -11,6 +11,9 @@ register = Registry() @register(override=True) class env(CommandOverride): def output_for_cli(self, textui, output, *args, **options): + output = dict(output) + output.pop('count', None) + output.pop('total', None) options['all'] = True return super(env, self).output_for_cli(textui, output, *args, **options)