pass through the timeout parameter for calls to lock_parent_directory
This commit is contained in:
commit
acf3a430b6
@ -442,7 +442,7 @@ def lock_parent_directory(filename, timeout=10):
|
|||||||
:param filename: file path of the parent directory to be locked
|
:param filename: file path of the parent directory to be locked
|
||||||
:param timeout: timeout (in seconds)
|
:param timeout: timeout (in seconds)
|
||||||
"""
|
"""
|
||||||
return lock_path(os.path.dirname(filename))
|
return lock_path(os.path.dirname(filename), timeout=timeout)
|
||||||
|
|
||||||
|
|
||||||
def get_time_units(time_amount):
|
def get_time_units(time_amount):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user