pass through the timeout for calls to lock_parent_directory

This commit is contained in:
John Dickinson 2010-09-02 09:58:30 -05:00
parent 8c69305f2b
commit c297da4df9

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):