Commit 05fbacd9 authored by Dmitry Lukhtionov's avatar Dmitry Lukhtionov
Browse files

Fix SKS.SKS.get_version script

parent 92081cae
Pipeline #34289 passed with stages
in 25 minutes and 17 seconds
# ---------------------------------------------------------------------
# SKS.SKS.get_version
# ---------------------------------------------------------------------
# Copyright (C) 2007-2019 The NOC Project
# Copyright (C) 2007-2021 The NOC Project
# See LICENSE for details
# ---------------------------------------------------------------------
......@@ -29,7 +29,8 @@ class Script(BaseScript):
rx_serial = re.compile(r"^\s*Serial number : (?P<serial>\S+)")
rx_ver2 = re.compile(
r"^(?P<platform>S(?:KS|WA)\-\S+) Series Software, Version (?P<version>\S+)", re.MULTILINE
r"^(?P<platform>S(?:KS|WA)\-\S+) Series Software, Version (?P<version>\S+(?: Build \d+)?)",
re.MULTILINE,
)
rx_rs = re.compile(
r"^ROM: System Bootstrap, Version (?P<bootprom>\S+),\s*"
......
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