Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(4)  |  Derive(0)  |  Import(4)

src/m/a/MapProxy-1.6.0/mapproxy/platform/cpython/lock.py   MapProxy(Download)
import errno
 
from mapproxy.util.ext.lockfile import LockFile, LockError
 
import logging
    def _try_lock(self):
        return LockFile(self.lock_file)
 
    def lock(self):
        self._make_lockdir()

src/m/a/mapproxy-HEAD/mapproxy/platform/cpython/lock.py   mapproxy(Download)
import errno
 
from mapproxy.util.ext.lockfile import LockFile, LockError
 
import logging
    def _try_lock(self):
        return LockFile(self.lock_file)
 
    def lock(self):
        self._make_lockdir()

src/m/a/MapProxy-1.6.0/mapproxy/util/lock.py   MapProxy(Download)
 
 
from mapproxy.util.ext.lockfile import LockFile
from mapproxy.platform.lock import LockTimeout, FileLock, LockError, cleanup_lockdir
 
            tries += 1
            try:
                return LockFile(self.lock_file + str(i))
            except LockError:
                if tries >= self.n:

src/m/a/mapproxy-HEAD/mapproxy/util/lock.py   mapproxy(Download)
 
 
from mapproxy.util.ext.lockfile import LockFile
from mapproxy.platform.lock import LockTimeout, FileLock, LockError, cleanup_lockdir
 
            tries += 1
            try:
                return LockFile(self.lock_file + str(i))
            except LockError:
                if tries >= self.n: