Done !
| Server IP : 162.240.50.153 / Your IP : 216.73.216.201 Web Server : Apache System : Linux vps-880082.mktpower.cl 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : wwmktp ( 1003) PHP Version : 8.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib/python2.7/site-packages/vdo/utils/ |
Upload File : |
�
.�t_c @ s� d Z d d l m Z d d l m Z m Z d d l Z d d l Z d d l Z d d l Z d d l Z d e
f d � � YZ d e f d � � YZ
d
� Z d � Z d S( s
Command - runs commands and manages their results
$Id: //eng/vdo-releases/magnesium/src/python/vdo/utils/Command.py#3 $
i ( t Loggeri����( t Popent PIPENt CommandErrorc B sD e Z d Z d � Z d � Z d � Z d � Z d � Z d � Z RS( s� Exception raised to indicate an error running a command.
Arguments:
exitCode (int): The exit code of the command
stdout (string): The output from the command
stderr (string): The error output from the command
message (string): The (localized) error text; will be formatted with
the remaining arguments
args: Arguments for formatting the message
c C s | j S( N( t _exitCode( t self( ( s5 /usr/lib/python2.7/site-packages/vdo/utils/Command.pyt getExitCode0 s c C s | j S( N( t _stderr( R ( ( s5 /usr/lib/python2.7/site-packages/vdo/utils/Command.pyt getStandardError4 s c C s | | j � | | j � d S( s� Log the outputs of the failed command which generated this exception.
Arguments:
logMethod (callable): The method to log with
N( t _stdoutR ( R t logMethod( ( s5 /usr/lib/python2.7/site-packages/vdo/utils/Command.pyt
logOutputs8 s
c G s | j | � | _ d S( s� Set the error message in this exception.
Arguments:
message (string): The (localized) message text; will be formatted
with *args
args: Values to pass to the format of message
N( t formatt _message( R t messaget args( ( s5 /usr/lib/python2.7/site-packages/vdo/utils/Command.pyt
setMessageB s c G sB t t | � j � | | _ | | _ | | _ | j | | � d S( N( t superR t __init__R R R R ( R t exitCodet stdoutt stderrR R ( ( s5 /usr/lib/python2.7/site-packages/vdo/utils/Command.pyR O s
c C s | j S( N( R
( R ( ( s5 /usr/lib/python2.7/site-packages/vdo/utils/Command.pyt __str__W s ( t __name__t
__module__t __doc__R R R R R R ( ( ( s5 /usr/lib/python2.7/site-packages/vdo/utils/Command.pyR "