def parse(self, data): super(Wheel, self).parse(data) fp = six.StringIO(distribution.must_decode(data)) msg = distribution.parse(fp) self.description = msg.get_payload()
def parse(self, data): super(Wheel, self).parse(data) fp = StringIO(distribution.must_decode(data)) msg = distribution.parse(fp) self.description = msg.get_payload()
def parse(self, data: bytes) -> None: super().parse(data) fp = io.StringIO(distribution.must_decode(data)) msg = distribution.parse(fp) self.description = msg.get_payload()