def _value_to_str()

in pci_vpd_lib/pci_vpd_lib.py [0:0]


    def _value_to_str(self, data):
        if type(data) is str:
            return data
        elif type(data) is bytes:
            return data.decode('ascii', errors='replace')