pass through the timeout parameter for calls to lock_parent_directory

This commit is contained in:
John Dickinson 2010-09-02 15:13:46 +00:00 committed by Tarmac
commit acf3a430b6

View File

@ -442,7 +442,7 @@ def lock_parent_directory(filename, timeout=10):
:param filename: file path of the parent directory to be locked
: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):