Skip to content

Commit 118ce0d

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 01fcc4e commit 118ce0d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/pybiocfilecache/cache.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,7 @@ def get(self, rname: str = None, rid: str = None) -> Optional[Resource]:
217217
timeout = 30
218218
while not Path(str(resource.rpath)).exists():
219219
if time() - start >= timeout:
220-
raise TimeoutError(
221-
f"For resource: '{rname}' the rpath does not exist " f"after {timeout} seconds."
222-
)
220+
raise TimeoutError(f"For resource: '{rname}' the rpath does not exist after {timeout} seconds.")
223221
sleep(0.1)
224222

225223
# Update access time

0 commit comments

Comments
 (0)