%PDF-
%PDF-
Mini Shell
Mini Shell
�
�SK\c@s�ddlmZddlZejddkrGddlZejZneZdZiZdefd��YZeZ defd��YZ
ddlZd d
d
��YZd�Z
ejd�Zeej�dkr�e
�n[[[
dS(i����(tprint_functionNiit ExceptioncBseZdd�Zd�ZRS(cCsDt|�|kstd��||_||_tj||�dS(Ns"The errno param must be an integer(tinttAssertionErrorterrnotmsgtXPCOMBaseExceptiont__init__(tselfRtmessage((s?/usr/lib/virtualbox/sdk/bindings/xpcom/python/xpcom/__init__.pyR9s cCs�tsdddlm}xKt|jj��D]1\}}t|�td�kr,|t|<q,q,Wn|j}|dkr�tj |j
�}|dkr�d}q�nd|j
d@|fS(Ni(tnsErrorits 0x%x (%s)I����(thr_mapRR
tlistt__dict__titemsttypeRtNonetgetR(RR
tnametvalR ((s?/usr/lib/virtualbox/sdk/bindings/xpcom/python/xpcom/__init__.pyt__str__>s" N(t__name__t
__module__RRR(((s?/usr/lib/virtualbox/sdk/bindings/xpcom/python/xpcom/__init__.pyR8stServerExceptioncBseZdd�ZRS(cOsB|dkr(ddlm}|j}ntj||||�dS(Ni(R
(RRR
tNS_ERROR_FAILURERR(RRtargstkwR
((s?/usr/lib/virtualbox/sdk/bindings/xpcom/python/xpcom/__init__.pyRVsN(RRRR(((s?/usr/lib/virtualbox/sdk/bindings/xpcom/python/xpcom/__init__.pyRUstConsoleServiceStreamcBs#eZd�Zd�Zd�ZRS(cCsdS(N((R((s?/usr/lib/virtualbox/sdk/bindings/xpcom/python/xpcom/__init__.pytflushgscCs ddlj}|j|�dS(Ni����(txpcom._xpcomt_xpcomtLogConsoleMessage(RRR((s?/usr/lib/virtualbox/sdk/bindings/xpcom/python/xpcom/__init__.pytwriteiscCsdS(N((R((s?/usr/lib/virtualbox/sdk/bindings/xpcom/python/xpcom/__init__.pytclosels(RRRR!R"(((s?/usr/lib/virtualbox/sdk/bindings/xpcom/python/xpcom/__init__.pyRes c CsEddl}tjddkr:ddl}ddl}ntjt��}tjtj �}|j
|�tjddkr�t|j�|j
kr�|j�|_q�ntj|�|jjd�}tj}|r%yt|dd�}Wq%tk
r!}td||fdtj�q%Xntj|�}tjddkrtt|j�|j
krt|j�|_qtntjtj �}|j
|�tj|�|jjd�}|rAyt|�}Wn]tk
r'yttt|j���}Wq(ttfk
r#tjd �d}q(XnX|rAtj|�qAndS(
Ni����iitPYXPCOM_LOG_FILEtwUs(pyxpcom failed to open log file '%s': %stfiletPYXPCOM_LOG_LEVELs9The PYXPCOM_LOG_LEVEL variable specifies an invalid level(tostsystversion_infot threadingtthreadtloggingt
StreamHandlerRt FormattertBASIC_FORMATtsetFormatterRtlocktLockTypetRLocktloggert
addHandlertenvironRtstderrtopentIOErrortprintRt
ValueErrortgetattrtuppertAttributeErrortwarningRtsetLevel( R'R*R+thdlrtfmttfilenametstreamtwhytlevel((s?/usr/lib/virtualbox/sdk/bindings/xpcom/python/xpcom/__init__.pytsetupLoggingosH
$
txpcom((t
__future__RR(R)t
exceptionsRRtverboseRtCOMExceptionRR,RRGt getLoggerR4tlenthandlers(((s?/usr/lib/virtualbox/sdk/bindings/xpcom/python/xpcom/__init__.pyt<module>(s"
7
Zerion Mini Shell 1.0