Server IP : 111.118.215.189 / Your IP : 18.225.254.235 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /lib/python2.7/site-packages/pip/_vendor/lockfile/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
� r2Wc @@ 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&