Module ImportFrom alias alias Import alias Import alias Import alias Import alias ImportFrom alias alias alias alias alias alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore BoolOpOr BoolOpAnd CompareIsNot NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If BoolOpAnd CompareIsNot NameLoad NameLoad CompareGt NameLoad Num body AugAssignAdd NameStore NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Num orelse Assign NameStore Call NameLoad Num BinOpDiv NameLoad Num While NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Return If BoolOpAnd CompareIsNot NameLoad NameLoad CompareGt Call AttributeLoad NameLoad attr NameLoad body If CompareGt NameLoad Num body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr orelse Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad orelse Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr orelse Expr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr Str attr Return decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr orelse If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BoolOpAnd Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body For NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A __future__ absolute_import division N/A time N/A os N/A sys N/A errno N/A LockBase LockFailed NotLocked NotMyLock LockTimeout AlreadyLocked MkdirLockFile N/A LockBase N/A N/A Lock file by creating a directory. __init__ N/A N/A self path threaded timeout N/A True None N/A N/A 
        >>> lock = MkdirLockFile('somefile')
        >>> lock = MkdirLockFile('somefile', threaded=False)
         N/A N/A N/A LockBase __init__ self path threaded timeout N/A N/A self unique_name N/A N/A N/A os path join N/A self lock_file N/A %s.%s%s N/A N/A self hostname N/A self tname N/A self pid N/A acquire N/A N/A self timeout N/A None N/A N/A timeout N/A N/A N/A timeout None timeout N/A self timeout N/A end_time N/A N/A time time N/A N/A N/A timeout None N/A timeout 0 N/A N/A end_time timeout N/A N/A timeout None N/A N/A wait 0.1 N/A N/A wait N/A max 0 N/A timeout 10 N/A True N/A N/A N/A N/A N/A N/A os mkdir N/A self lock_file N/A N/A N/A OSError N/A N/A err N/A N/A N/A sys exc_info N/A 1 N/A N/A N/A err errno N/A errno EEXIST N/A N/A N/A N/A N/A os path exists N/A self unique_name N/A N/A N/A N/A N/A timeout None N/A N/A N/A time time end_time N/A N/A N/A timeout 0 N/A N/A N/A LockTimeout N/A Timeout waiting to acquire lock for %s N/A self path N/A N/A N/A AlreadyLocked N/A %s is already locked N/A self path N/A N/A N/A time sleep wait N/A N/A N/A LockFailed N/A failed to create %s N/A self lock_file N/A N/A N/A N/A N/A open N/A self unique_name wb close N/A N/A release N/A N/A self N/A N/A N/A N/A N/A N/A self is_locked N/A N/A N/A NotLocked N/A %s is not locked N/A self path N/A N/A N/A N/A N/A N/A os path exists N/A self unique_name N/A N/A N/A NotMyLock N/A %s is locked, but not by me N/A self path N/A N/A N/A os unlink N/A self unique_name N/A N/A N/A os rmdir N/A self lock_file N/A is_locked N/A N/A self N/A N/A N/A N/A N/A N/A os path exists N/A self lock_file N/A i_am_locking N/A N/A self N/A N/A N/A N/A N/A N/A self is_locked N/A N/A N/A os path exists N/A self unique_name N/A break_lock N/A N/A self N/A N/A N/A N/A N/A N/A os path exists N/A self lock_file N/A N/A name N/A N/A os listdir N/A self lock_file N/A N/A N/A N/A os unlink N/A N/A N/A os path join N/A self lock_file name N/A N/A N/A os rmdir N/A self lock_file N/A N/A