Commit 7ba2bea
Pylint fix (#407)
* [ModelicaSystem] fix pylint message
OMPython/ModelicaSystem.py:1787:16: W0612: Unused variable 'key' (unused-variable)
=> replace items() by values()
* [OMCSession] fix pylint: W0706: The except handler raises immediately (try-except-raise)
---------
Co-authored-by: Adeel Asghar <adeel.asghar@liu.se>1 parent c53a937 commit 7ba2bea
2 files changed
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1800 | 1800 | | |
1801 | 1801 | | |
1802 | 1802 | | |
1803 | | - | |
| 1803 | + | |
1804 | 1804 | | |
1805 | 1805 | | |
1806 | 1806 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
175 | | - | |
176 | 174 | | |
177 | 175 | | |
178 | 176 | | |
| |||
201 | 199 | | |
202 | 200 | | |
203 | 201 | | |
204 | | - | |
205 | | - | |
206 | 202 | | |
207 | 203 | | |
208 | 204 | | |
| |||
211 | 207 | | |
212 | 208 | | |
213 | 209 | | |
214 | | - | |
215 | | - | |
216 | 210 | | |
217 | 211 | | |
218 | 212 | | |
| |||
0 commit comments