AlkantarClanX12
Current Path : /usr/lib/python2.7/site-packages/pip/_vendor/lockfile/ |
Current File : //usr/lib/python2.7/site-packages/pip/_vendor/lockfile/pidlockfile.pyo |
� ��abc @@ s� d Z d d l m Z d d l Z d d l Z d d l Z d d l m Z m Z m Z m Z m Z m Z d e f d � � YZ d � Z d � Z d � Z d S( s8 Lockfile behaviour implemented via Unix PID files. i ( t absolute_importNi ( t LockBaset AlreadyLockedt LockFailedt NotLockedt NotMyLockt LockTimeoutt PIDLockFilec B@ sV e Z d Z e d d � Z d � Z d � Z d � Z d d � Z d � Z d � Z RS( sA Lockfile implemented as a Unix PID file. The lock file is a normal file named by the attribute `path`. A lock's PID file contains a single line of text, containing the process ID (PID) of the process that acquired the lock. >>> lock = PIDLockFile('somefile') >>> lock = PIDLockFile('somefile') c C@ s&