]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/fireinfo-Ignore-any-systems-with-ID-Default-string.patch
core127: Ship updated wget
[ipfire-2.x.git] / src / patches / fireinfo-Ignore-any-systems-with-ID-Default-string.patch
1 From d1f6789178e141664895332af79dbe7aa9e5ab68 Mon Sep 17 00:00:00 2001
2 From: Michael Tremer <michael.tremer@ipfire.org>
3 Date: Wed, 13 Jun 2018 20:58:42 +0200
4 Subject: [PATCH 2/2] Ignore any systems with ID "Default string"
5
6 Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 ---
8 src/fireinfo/system.py | 1 +
9 1 file changed, 1 insertion(+)
10
11 diff --git a/src/fireinfo/system.py b/src/fireinfo/system.py
12 index e3295af..73c3882 100644
13 --- a/src/fireinfo/system.py
14 +++ b/src/fireinfo/system.py
15 @@ -42,6 +42,7 @@ INVALID_ID_STRINGS = (
16 "N/A", "n/a",
17 "12345", "54321", "202020",
18 "Chassis", "chassis",
19 + "Default string",
20 "EVAL",
21 "Not Applicable",
22 "None", "empty",
23 --
24 2.12.2
25