fix: [securityAudit] Display python version

pull/7055/head
mokaddem 2021-02-19 16:01:49 +01:00
parent 7b3be9362b
commit 50575cbb8b
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 2 additions and 2 deletions

View File

@ -381,13 +381,13 @@ class SecurityAudit
if (version_compare($parts[1], '3.6', '<')) {
$output['System'][] = [
'warning',
__('You are using Python %s. This version is not supported anymore, but it can be still supported by your distribution.'),
__('You are using Python %s. This version is not supported anymore, but it can be still supported by your distribution.', $parts[1]),
'https://endoflife.date/python',
];
} else if (version_compare($parts[1], '3.7', '<')) {
$output['System'][] = [
'hint',
__('You are using Python %s. This version will be not supported after 23 Dec 2021, but it can be still supported by your distribution.'),
__('You are using Python %s. This version will be not supported after 23 Dec 2021, but it can be still supported by your distribution.', $parts[1]),
'https://endoflife.date/python',
];
}