]> git.ipfire.org Git - oddments/fireinfo.git/commitdiff
Blacklist more invalid strings.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 1 May 2014 18:35:52 +0000 (20:35 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 1 May 2014 18:35:52 +0000 (20:35 +0200)
http://forum.ipfire.org/index.php?topic=10434.msg67634#msg67634

src/fireinfo/system.py

index c875f96f1b6b6e5cda07fe414c0ede62c045ba0d..8e903e8e3449000d11d514aa3d46b8a07a650d1d 100644 (file)
@@ -42,12 +42,15 @@ INVALID_ID_STRINGS = (
        "N/A", "n/a",
        "12345", "54321", "202020",
        "Chassis", "chassis",
+       "EVAL",
        "Not Applicable",
        "None", "empty",
+       "System Serial Number",
        "XXXXX",
        "01010101-0101-0101-0101-010101010101",
        "00020003-0004-0005-0006-000700080009",
        "03000200-0400-0500-0006-000700080009",
+       "11111111-1111-1111-1111-111111111111",
        "0000000", "00000000",
 )