mutapath.lock_dummy.DummyFileLock

class mutapath.lock_dummy.DummyFileLock(lock_file, timeout=-1)[source]

Bases: filelock.BaseFileLock

__init__(lock_file, timeout=-1)[source]

Methods

acquire([timeout, poll_intervall])

Doing nothing

release([force])

Doing nothing

Attributes

is_locked

True, if the object holds the file lock.

lock_file

The path to the lock file.

timeout

You can set a default timeout for the filelock.