fireinfo: Fix hash collision because of very weird UUID.
[people/pmueller/ipfire-2.x.git] / src / patches / fireinfo-invalid-id.patch
1 commit ac68f90a0229083d755e7e2e8980822405ac2da8
2 Author: Michael Tremer <michael.tremer@ipfire.org>
3 Date: Tue Jan 18 19:11:06 2011 +0100
4
5 Add invalid ID: 00020003-0004-0005-0006-000700080009.
6
7 diff --git a/fireinfo/system.py b/fireinfo/system.py
8 index 135c29b..690eae2 100644
9 --- a/fireinfo/system.py
10 +++ b/fireinfo/system.py
11 @@ -41,6 +41,7 @@ INVALID_ID_STRINGS = (
12 "N/A", "n/a",
13 "12345", "54321", "202020",
14 "Chassis", "chassis",
15 + "00020003-0004-0005-0006-000700080009",
16 )
17
18 class Singleton(type):