MOON
Server: Apache
System: Linux server2.shieldcogroup.com 3.10.0-1160.119.1.el7.tuxcare.els12.x86_64 #1 SMP Fri Nov 8 05:49:38 UTC 2024 x86_64
User: jacom (1029)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib/python2.7/site-packages/leapp/utils/__init__.pyc
�
9�Egc@s"ddlZd�Zd�ZdS(i����NcCstjdddg�dS(Ns/sbin/shutdowns-rtnow(t
subprocesstPopen(((s8/usr/lib/python2.7/site-packages/leapp/utils/__init__.pyt
reboot_systemscs4d�����fd��tt�|���S(s�
    Used to retrieve the full list of models including the ones defined by WorkflowAPIs used by the actor.

    :param what: A string which either is 'consumes' or 'produces'
    :type what: str
    :param actor: type/instance or ActorDefinition instance to retrieve the information from
    :type actor: leapp.actors.Actor or ActorDefinition
    :return: Tuple of all produced or consumed models as specified by actor and APIs used by the actor.
    cSst|t�s|fS|S(N(t
isinstancettuple(tx((s8/usr/lib/python2.7/site-packages/leapp/utils/__init__.pyt_enforce_tuplescsL�t|�d��}x-�|jp*d�D]}|�|�}q.W|S(N(((tgetattrtapis(tapitresultta(t_do_getRtwhat(s8/usr/lib/python2.7/site-packages/leapp/utils/__init__.pyR
s(Rtset(tactorR((R
RRs8/usr/lib/python2.7/site-packages/leapp/utils/__init__.pytget_api_models
s	(RRR(((s8/usr/lib/python2.7/site-packages/leapp/utils/__init__.pyt<module>s