Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
noc
noc
Commits
05fbacd9
Commit
05fbacd9
authored
Nov 25, 2021
by
Dmitry Lukhtionov
Browse files
Fix SKS.SKS.get_version script
parent
92081cae
Pipeline
#34289
passed with stages
in 25 minutes and 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
sa/profiles/SKS/SKS/get_version.py
View file @
05fbacd9
# ---------------------------------------------------------------------
# SKS.SKS.get_version
# ---------------------------------------------------------------------
# Copyright (C) 2007-201
9
The NOC Project
# Copyright (C) 2007-20
2
1 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*"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment