commit | 0d590100f29c0e9da2de642bdbcf9fac7fac8279 | [log] [tgz] |
---|---|---|
author | Tomaz Muraus <tomaz@tomaz.me> | Sun Nov 01 22:50:12 2020 +0100 |
committer | micafer <micafer1@upv.es> | Wed Nov 04 08:47:17 2020 +0100 |
tree | 2d95ba8fdeb749bf5379ed534000d90d39c04fb9 | |
parent | 6b41af24a3f0e017c8fa8bfd98c9b14ede10d668 [diff] |
Fix lint and code issue.
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 @@ 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