mirror of
https://tvoygit.ru/Djam/r11-builder-agent.git
synced 2025-02-23 10:22:45 +00:00
fix typo
This commit is contained in:
parent
fd7ad7c3c8
commit
7a0ebf0523
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ for pkg in glob.glob("/home/omv/output/*.rpm"):
|
|||
print(existing_pkg)
|
||||
continue
|
||||
|
||||
res = rpm5utils.miscutils.compareDEVR( (distepoch, epoch, version, release), (ex_distepoch, ex_epoch, ex_version, ex_release) )
|
||||
res = rpm5utils.miscutils.compareEVRD((distepoch, epoch, version, release), (ex_distepoch, ex_epoch, ex_version, ex_release))
|
||||
if res < 1:
|
||||
print(("A package with the same name (" + name + ") and same or newer version (" + evrd + ") already exists in repositories!"))
|
||||
exit_code = 1
|
||||
|
|
Loading…
Add table
Reference in a new issue