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 2d0cacc707a7d44f7390aca2262ffc77c8c43a9a Author: Tomaz Muraus <to...@tomaz.me> AuthorDate: Sun Dec 3 11:10:57 2023 +0100 Fix lint. --- libcloud/compute/drivers/equinixmetal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcloud/compute/drivers/equinixmetal.py b/libcloud/compute/drivers/equinixmetal.py index 72423019f..6d48fcada 100644 --- a/libcloud/compute/drivers/equinixmetal.py +++ b/libcloud/compute/drivers/equinixmetal.py @@ -554,7 +554,7 @@ def _list_async(driver): factor = 1024 * 1024 ram_txt = ram_txt.replace("TB", "") ram = int(ram_txt) * factor - except Exception as e: + except Exception: ram = None disk = None