Skip to content

Commit c1e597a

Browse files
committed
[ModelicaSystem] fix pylint message
OMPython/ModelicaSystem.py:1787:16: W0612: Unused variable 'key' (unused-variable) => replace items() by values()
1 parent 76b73e5 commit c1e597a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OMPython/ModelicaSystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1797,7 +1797,7 @@ def linearize(
17971797
om_cmd.arg_set(key="overrideFile", val=override_file.as_posix())
17981798

17991799
if self._inputs:
1800-
for key, data in self._inputs.items():
1800+
for data in self._inputs.values():
18011801
if data is not None:
18021802
for value in data:
18031803
if value[0] < float(self._simulate_options["startTime"]):

0 commit comments

Comments
 (0)