Commit 7282541
committed
remote/exporter: refactor ser2net version check
Turn the version variable into a tuple which consists of (major, minor,
micro). Convert the exit code check to use tuples instead of strings and
also correct the version check for the YAML configuration to use a
tuple.
No functional changes intended.
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>1 parent e5ace1a commit 7282541
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
236 | | - | |
| 236 | + | |
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | | - | |
| 242 | + | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
| 245 | + | |
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| |||
0 commit comments