From b991c86a54980039d8e2b339c8212c3617edfc5d Mon Sep 17 00:00:00 2001 From: Daniel Hollas Date: Wed, 24 Jan 2024 02:21:35 +0000 Subject: [PATCH] Fix precommit --- aiidalab_launch/profile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiidalab_launch/profile.py b/aiidalab_launch/profile.py index b555258..e22318e 100644 --- a/aiidalab_launch/profile.py +++ b/aiidalab_launch/profile.py @@ -88,7 +88,7 @@ def __post_init__(self): # Normalize extra mount mode to be "rw" by default # so that we match Docker default but are explicit. - for extra_mount in self.extra_mounts: + for extra_mount in self.extra_mounts.copy(): self.parse_extra_mount(extra_mount) if len(extra_mount.split(":")) == 2: self.extra_mounts.remove(extra_mount)