(self, path, threaded=True, timeout=None)
>>> lock = MkdirLockFile('somefile')
        >>> lock = MkdirLockFile('somefile', threaded=False)
>>> lock = MkdirLockFile('somefile')
        >>> lock = MkdirLockFile('somefile', threaded=False)
>>> lock = MkdirLockFile ( somefile ) >>> lock = MkdirLockFile ( somefile threaded = False )
def __init__(self, path, threaded=True, timeout=None):
        """
        >>> lock = MkdirLockFile('somefile')
        >>> lock = MkdirLockFile('somefile', threaded=False)
        """
        LockBase.__init__(self, path, threaded, timeout)
        # Lock file itself is a directory.  Place the unique file name into
        # it.
        self.unique_name = os.path.join(self.lock_file,
                                        "%s.%s%s" % (self.hostname,
                                                     self.tname,
                                                     self.pid))
def __init__ ( self , path , threaded = True , timeout = None ) : LockBase . __init__ ( self , path , threaded , timeout ) # Lock file itself is a directory.  Place the unique file name into # it. self . unique_name = os . path . join ( self . lock_file , "%s.%s%s" % ( self . hostname , self . tname , self . pid ) )