This is an automated email from the ASF dual-hosted git repository. tomaz pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/libcloud.git
commit 6b9ab0a98bbcae34228b531f0d16dc9a3431f022 Author: Tomaz Muraus <[email protected]> AuthorDate: Sun Nov 1 22:50:12 2020 +0100 Fix lint and code issue. --- libcloud/storage/drivers/local.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcloud/storage/drivers/local.py b/libcloud/storage/drivers/local.py index 12e948a..96330a2 100644 --- a/libcloud/storage/drivers/local.py +++ b/libcloud/storage/drivers/local.py @@ -73,7 +73,7 @@ class LockLocalStorage(object): end_time = start_time + lock_acquire_timeout while int(time.time()) < end_time: - success = self.thread_lock.acquire(blocking=True) + success = self.thread_lock.acquire(blocking=False) if success: break
