1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-20 09:16:16 +02:00
github.com_openSUSE_osc/osc/util
Marcus Huewe 6fdce86fc9 Port the ar module to python3
Since an ar archive can contain arbitary filenames (that is a
filename can be an invalid utf-8 encoding (for instance,
"foo\xff\xffbar")), the ar module provides a bytes only API. A
user can decode filenames as she wishes.
Note: if a "fn" parameter is passed to Ar.__init__ it should be a
bytes (a str is also ok, but then be aware that an ArError's file
attribute might be a str or a bytes).
2019-01-15 17:18:37 +01:00
..
__init__.py - don't fail if terminal encoding doesn't support unicode (fixes #660445) 2011-02-11 02:45:13 +01:00
ar.py Port the ar module to python3 2019-01-15 17:18:37 +01:00
archquery.py Add support for querying weak dependencies 2017-12-26 23:14:47 +01:00
cpio.py Resolve PEP8 issue E231 2014-08-13 17:30:12 +02:00
debquery.py Add support for querying weak dependencies 2017-12-26 23:14:47 +01:00
packagequery.py Add support for querying weak dependencies 2017-12-26 23:14:47 +01:00
repodata.py Do not choke on operators < and > in spec files 2018-11-28 10:55:17 +01:00
rpmquery.py Simplify rpmquery.unpack_string 2019-01-14 16:40:09 +01:00
safewriter.py Fix and simplify util.safewriter.SafeWriter 2018-03-09 16:55:56 +01:00