~launchpad-results/launchpad-results/trunk

« back to all changes in this revision

Viewing changes to lib/lpresults/xunit/parsers/dmi.py

  • Committer: Marc Tardif
  • Date: 2011-10-12 18:17:54 UTC
  • Revision ID: marc.tardif@canonical.com-20111012181754-abg1ak9h35a8yq76
Added a few names to the dmi blacklists.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
import os
12
12
 
13
13
 
 
14
# See also 3.3.4.1 of the "System Management BIOS Reference Specification,
 
15
# Version 2.6.1" (Preliminary Standard) document, available from
 
16
# http://www.dmtf.org/standards/smbios.
14
17
class Dmi:
15
18
    chassis = (
16
19
        ("Undefined",             "unknown"),  # 0x00
101
104
 
102
105
    _product_blacklist = (
103
106
        "<BAD INDEX>",
 
107
        "N/A",
104
108
        "Not Available",
105
109
        "INVALID",
106
110
        "OEM",
110
114
        "To Be Filled By O.E.M.",
111
115
        "To Be Filled By O.E.M. by More String",
112
116
        "Unknown",
 
117
        "Uknown",
 
118
        "Unknow",
 
119
        "xxxxxxxxxxxxxx",
113
120
        )
114
121
    _vendor_blacklist = (
115
122
        "<BAD INDEX>",