Skip to content

Commit

Permalink
pylint: don't override local var
Browse files Browse the repository at this point in the history
Signed-off-by: liamhuber <[email protected]>
  • Loading branch information
liamhuber committed Jan 18, 2025
1 parent a3c8eea commit 97a7b9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyiron_workflow/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,8 @@ def _copy_connections(
except Exception as e:
if fail_hard:
# If you run into trouble, unwind what you've done
for this, other in new_connections:
this.disconnect(other)
for this, that in new_connections:
this.disconnect(that)
raise ConnectionCopyError(
f"{self.label} could not copy connections from "
f"{other.label} due to the channel {key} on "
Expand Down

0 comments on commit 97a7b9d

Please sign in to comment.