CPEComponent2_2 class¶
-
class
cpe.comp.cpecomp2_2.
CPEComponent2_2
(comp_str, comp_att)¶ Represents a component of version 2.2 of CPE specification.
TEST: simple value
>>> value = "microsoft" >>> comp = CPEComponent2_2(value, CPEComponentSimple.ATT_VENDOR)
-
__repr__
()¶ Returns a unambiguous representation of CPE component.
Returns: Representation of CPE component as string Return type: string
-