def _repr_properties(self):
     properties = [
         ('Feature ID', {}, self.feature_id),
         ('OEM ID', {}, hex(self.oem_id)),
         ('Chip ID', {}, hex(self.chip_id)),
         ('Product ID', {}, hex(self.product_id)),
         (df.AOSTLTYPE_STRING, df.AOSTLTYPE_DESCRIPTION, self.license_type),
         ('Evaluation Use Count', {}, self.evaluation_use_count),
         ('Metadata Size', {}, self.metadata_size),
     ]
     properties = [(attr, desc.get(val, val))
                   for attr, desc, val in properties]
     return AOSTLicHdrCommon._repr_properties(self) + properties
Exemple #2
0
 def _repr_properties(self):
     properties = [
                   ('Bundle ID', {}, hex(self.bundle_id)),
                   ('GUID', {}, self.guid),
                   ('Party ID', {}, hex(self.party_id)),
                   ('OEM ID', {}, hex(self.oem_id)),
                   ('Feature IDs', {}, str(self.feature_ids)),
                   ('Chip IDs', {}, str(self.chip_ids)),
                   ('Product ID', {}, hex(self.product_id)),
                   (df.AOSTLTYPE_STRING, df.AOSTLTYPE_DESCRIPTION, self.license_type),
                   ('Evaluation Use Count', {}, self.evaluation_use_count),
                   ('Reserved field size', {}, self.reserved_field_size),
                  ]
     properties = [(attr, desc.get(val, val)) for attr, desc, val in properties]
     return AOSTLicHdrCommon._repr_properties(self) + properties