Commit 04ad2b45 authored by e_zombie's avatar e_zombie
Browse files

fix test

parent 39e3c271
Pipeline #28568 passed with stages
in 17 minutes and 15 seconds
......@@ -22,7 +22,8 @@ class Script(BaseScript):
rx_ver = re.compile(
r"DISTRIB_RELEASE='(?P<version>\S+)'\nDISTRIB_REVISION='(?P<codename>\S+)'\n\S+\nDISTRIB_ARCH='(?P<arch>\S+)'",
re.MULTILINE)
re.MULTILINE,
)
def execute_cli(self):
......@@ -43,7 +44,9 @@ class Script(BaseScript):
"vendor": "OpenWRT Team",
"platform": arch,
"version": version,
"attributes": {"codename": codename,
"distro": "OpenWrt",
"kernel": kernel.strip() + ""},
"attributes": {
"codename": codename,
"distro": "OpenWrt",
"kernel": kernel.strip() + "",
},
}
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