Uranium
Application Framework
UM.LockFile.LockFile Class Reference

Public Member Functions

def __init__
 
def __enter__ (self)
 
def __exit__
 

Detailed Description

Manage a lock file for reading / writing in a directory.

example usage::

$ with LockFile("my_lock_file.lock"):
$   <do something in a directory>

Member Function Documentation

def UM.LockFile.LockFile.__enter__ (   self,
  None 
)
Attempt to grab the lock file for personal use.

The documentation for this class was generated from the following file: