commit | 835e91ad4b301064d53836f28c53ff44c0d483f6 | [log] [tgz] |
---|---|---|
author | Tomaz Muraus <tomaz@tomaz.me> | Tue Nov 03 16:08:24 2020 +0100 |
committer | micafer <micafer1@upv.es> | Wed Nov 04 08:49:52 2020 +0100 |
tree | 58ea4ba545d7d12cc44808a6c35be04fd25dc08e | |
parent | 0d590100f29c0e9da2de642bdbcf9fac7fac8279 [diff] |
Fix lint.
diff --git a/libcloud/storage/drivers/local.py b/libcloud/storage/drivers/local.py index 96330a2..603cee4 100644 --- a/libcloud/storage/drivers/local.py +++ b/libcloud/storage/drivers/local.py
@@ -73,7 +73,9 @@ end_time = start_time + lock_acquire_timeout while int(time.time()) < end_time: + # pylint: disable=assignment-from-no-return success = self.thread_lock.acquire(blocking=False) + # enable: disable=assignment-from-no-return if success: break