Commit 5be44435 authored by bee26's avatar bee26
Browse files

Merge branch 'sks_build' into 'master'

Fix SKS.SKS.get_version script

See merge request !5901
parents a348fca1 05fbacd9
Pipeline #34316 passed with stages
in 59 minutes and 50 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