1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-26 04:02:11 +01:00
Marcus Huewe 28eeff8683 Simplify rpmquery.unpack_string
There is no need to unpack a single byte because it is not
affected by (byte) endianness (and that's what struct.unpack is
about). Moreover, rpmquery.unpack_string now supports an optional
encoding parameter, which could be used by the python3 port to
decode a string. Note: in general we cannot assume that all strings
in a rpm are utf-8 encoded (it is possible to build a rpm that
contains illegal utf-8 sequences).
2019-01-14 16:40:09 +01:00
..
2019-01-14 16:40:09 +01:00
2009-12-03 19:19:53 +01:00
2014-08-12 15:01:16 +02:00
2017-06-17 17:40:42 +02:00
2018-11-06 10:35:38 +01:00
2018-05-08 14:32:33 +02:00