File: //lib/python3.6/site-packages/ipaclient/plugins/__pycache__/hbactest.cpython-36.pyc
3
�
�i� � @ sP d dl mZ d dlmZ d dlZejr*eZe� Zeddd�G dd� de��Z dS )� )�CommandOverride)�RegistryNT)�overrideZno_failc @ s e Zd Zdd� ZdS )�hbactestc O s� | j |� x�| jD ]|}|dkr q| j| }d|jkr6q|| }t|ttf�rf|jt|j�|ddd� qt|t�r|dkr�|j |� q|j
|� qW t|d �S )z�
Command.output_for_cli() uses --all option to decide whether to print detailed output.
We use --detail to allow that, thus we need to redefine output_for_cli().
�valueZ
no_displayz%s: %s� TZsummary)Zlog_messages�output�flags�
isinstance�list�tupleZprint_attribute�unicode�docZ
print_summaryZprint_indented�int)�selfZtextuir �argsZoptions�oZoutp�result� r �/usr/lib/python3.6/hbactest.py�output_for_cli! s
zhbactest.output_for_cliN)�__name__�
__module__�__qualname__r r r r r r s r )
Zipaclient.frontendr Zipalib.plugabler ZsixZPY3�strr
�registerr r r r r �<module> s