From ceb067398434583208bc0221d181056e39900267 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 12:37:51 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/aiida/orm/nodes/data/remote/base.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/aiida/orm/nodes/data/remote/base.py b/src/aiida/orm/nodes/data/remote/base.py index e63da115c..b361e1630 100644 --- a/src/aiida/orm/nodes/data/remote/base.py +++ b/src/aiida/orm/nodes/data/remote/base.py @@ -228,7 +228,6 @@ def get_size_on_disk(self, relpath: Path | None = None) -> str: ) raise FileNotFoundError(exc_message) - try: total_size: int = self._get_size_on_disk_du(full_path, transport)