1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-15 14:57:17 +01:00
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
..
2019-01-15 17:18:50 +01:00
2019-01-14 16:40:09 +01:00