Commit f430f0a8 authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Merge branch 'fix-avs-eltex-platform-type' into 'master'

Eltex.MES. Fix detect profile typo.

See merge request !6050
parents a40a202d a0ae0f60
Pipeline #35125 passed with stages
in 36 minutes and 28 seconds
...@@ -99,12 +99,13 @@ class Profile(BaseProfile): ...@@ -99,12 +99,13 @@ class Profile(BaseProfile):
"116": "MES-3308F", "116": "MES-3308F",
"120": "MES-3348F", "120": "MES-3348F",
"136": "MES-5316A", "136": "MES-5316A",
"190": ("MES-3324F", "rev.B"), # rev.B "190": "MES-3324F", # rev.B
} }
REVISIONS = {"190": "rev.B"}
def get_platform(self, s): def get_platform(self, s):
platform, *revision = self.PLATFORMS.get(s) return self.PLATFORMS.get(s), self.REVISIONS.get(s)
return platform, revision[0] if revision else None
INTERFACE_TYPES = { INTERFACE_TYPES = {
"as": "physical", # Async "as": "physical", # Async
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment