ok
Direktori : /lib/python3.6/site-packages/rhn/actions/__pycache__/ |
Current File : //lib/python3.6/site-packages/rhn/actions/__pycache__/hardware.cpython-36.pyc |
3 U�fI � @ sR d dl mZ d dl mZ d dl mZ d ZdgZd dd�Zdd� Zed krNe� dS )� )�hardware)�up2dateAuth)� rpcServer�refresh_listNc C sh | rddi fS t j� }tj� }tdkr.td� y|jjtj � |� W n td� ddi fS ddi fS ) Nr zno-ops for caching� zCalled refresh_hardwarez3ERROR: sending hardware database for System Profile� z Error refreshing system hardwarezhardware list refreshed) r ZHardwarer Z getServer� argVerbose�printZregistrationZrefresh_hw_profiler ZgetSystemId)Z cache_onlyZhardwareList�s� r �/usr/lib/python3.6/hardware.pyr s c C s t t� � d S )N)r r r r r r �main( s r �__main__)N) Zup2date_clientr r r r Z __rhnexport__r r �__name__r r r r �<module> s