mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-28 10:46:15 +01:00
28eeff8683
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). |
||
---|---|---|
.. | ||
__init__.py | ||
ar.py | ||
archquery.py | ||
cpio.py | ||
debquery.py | ||
packagequery.py | ||
repodata.py | ||
rpmquery.py | ||
safewriter.py |