ok
Direktori : /proc/thread-self/root/usr/lib/python2.7/site-packages/pip/_vendor/lockfile/ |
Current File : //proc/thread-self/root/usr/lib/python2.7/site-packages/pip/_vendor/lockfile/pidlockfile.pyc |
� ��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&