| Home | Trees | Indices | Help | 
|---|
|  | 
 
Lock files using Posix advisory lock files.
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| Inherited from  Inherited from  | |||
| 
 | |||
| Inherited from  | |||
| 
 | |||
| 
 Open the file and lock it. Tries to create a .lock file next to the file we're trying to open. Args: timeout: float, How long to try to lock for. delay: float, How long to wait between retries. Raises: AlreadyLockedException: if the lock is already acquired. IOError: if the open fails. CredentialsFileSymbolicLinkError if the file is a symbolic link. 
 | 
| 
 Unlock a file by removing the .lock file, and close the handle. 
 | 
| Home | Trees | Indices | Help | 
|---|
| Generated by Epydoc 3.0.1 on Mon Sep 29 15:21:53 2014 | http://epydoc.sourceforge.net |