Skip to content

Commit

Permalink
remote/exporter: ser2net YAML config since 4.2.0
Browse files Browse the repository at this point in the history
Contrary to the code, ser2net started using the YAML configuration in
version 4.2.0, correct the exporter version check.

Signed-off-by: Rouven Czerwinski <[email protected]>
  • Loading branch information
Emantor committed Jun 21, 2024
1 parent 7282541 commit d0b08a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion labgrid/remote/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def _start(self, start_params):
if version not in [(4, 4, 0), (4, 5, 0), (4, 5, 1), (4, 6, 0), (4, 6, 1)] and result.returncode == 1:
raise ExporterError(f"ser2net {version} returned a nonzero code during version check.")

if version >= (4, 0, 0):
if version >= (4, 2, 0):
cmd = [
self.ser2net_bin,
"-d",
Expand Down

0 comments on commit d0b08a1

Please sign in to comment.