1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-14 09:36:21 +01:00
github.com_openSUSE_osc/osc/util
Marcus Huewe 5c639db805 ArchQuery.epoch should never return None
Returning None breaks ArchQuery.vercmp. Returning b'0' is ok because
an epoch, if present, is always supposed to be an integer (at least
in a "valid" arch package (see scripts/libmakepkg/lint_pkgbuild/epoch.sh.in
in the pacman sources)). Hence, if we compare the epoch of a package,
which has no explicit epoch set, with the epoch of a package, which
has an explicit epoch set, we always have a <= relation.
2019-01-27 15:39:07 +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 Use with statement in ArFile.saveTo 2019-01-15 17:18:50 +01:00
archquery.py ArchQuery.epoch should never return None 2019-01-27 15:39:07 +01:00
cpio.py Use with statement in CpioRead._copyin_file 2019-01-15 20:49:26 +01:00
debquery.py Add support for querying weak dependencies 2017-12-26 23:14:47 +01:00
packagequery.py [python3] magic is now a bytestring in python3 2018-12-13 13:23:26 +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