mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-14 09:36:21 +01:00
5c639db805
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. |
||
---|---|---|
.. | ||
__init__.py | ||
ar.py | ||
archquery.py | ||
cpio.py | ||
debquery.py | ||
packagequery.py | ||
repodata.py | ||
rpmquery.py | ||
safewriter.py |