/opt/imunify360/venv/lib/python3.11/site-packages/daemon/__pycache__
Edit: /opt/imunify360/venv/lib/python3.11/site-packages/daemon/__pycache__/pidfile.cpython-311.pyc (2437B)
§
®žž$to¯ã óD — d Z ddlmZmZ ddlmZ G d„ dee¦ « ZdS )z8 Lockfile behaviour implemented via Unix PID files.
é )Úabsolute_importÚunicode_literals)ÚPIDLockFilec ó0 ‡ — e Zd ZdZdˆ fd„ Zdˆ fd„ Zˆ xZS )ÚTimeoutPIDLockFilea@ Lockfile with default timeout, implemented as a Unix PID file.
This uses the ``PIDLockFile`` implementation, with the
following changes:
* The `acquire_timeout` parameter to the initialiser will be
used as the default `timeout` parameter for the `acquire`
method.
Nc óP •— || _ t ¦ « j |g|¢R i |¤Ž dS )zû Set up the parameters of a TimeoutPIDLockFile.
:param path: Filesystem path to the PID file.
:param acquire_timeout: Value to use by default for the
`acquire` call.
:return: ``None``.
N)Úacquire_timeoutÚsuperÚ__init__)ÚselfÚpathr ÚargsÚkwargsÚ __class__s €ún/builddir/build/BUILD/imunify360-venv-2.6.3/opt/imunify360/venv/lib/python3.11/site-packages/daemon/pidfile.pyr zTimeoutPIDLockFile.__init__ s: ø€ ð /ˆÔØ�‰ŒÔ˜Ð/ Ð/Ð/Ð/¨Ð/Ð/Ð/Ð/Ð/ó c óT •— |€| j } t ¦ « j |g|¢R i |¤Ž dS )ax Acquire the lock.
:param timeout: Specifies the timeout; see below for valid
values.
:return: ``None``.
The `timeout` defaults to the value set during
initialisation with the `acquire_timeout` parameter. It is
passed to `PIDLockFile.acquire`; see that method for
details.
N)r r
Úacquire)r Útimeoutr r r s €r r zTimeoutPIDLockFile.acquire* s> ø€ ð ˆ?ØÔ*ˆGØ�‰ŒŒ˜Ð1 $Ð1Ð1Ð1¨&Ð1Ð1Ð1Ð1Ð1r )N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r r Ú
__classcell__)r s @r r r se ø€ € € € € ð ð ð
0ð
0ð
0ð
0ð
0ð
0ð2ð 2ð 2ð 2ð 2ð 2ð 2ð 2ð 2ð 2r r N)r Ú
__future__r r Úlockfile.pidlockfiler Úobjectr © r r ú
r sq ððð ð ;Ð :Ð :Ð :Ð :Ð :Ð :Ð :à ,Ð ,Ð ,Ð ,Ð ,Ð ,ð'2ð '2ð '2ð '2ð '2˜ fñ '2ô '2ð '2ð '2ð '2r