mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
Merge branch 'checkRevision_meta_mode' of https://github.com/marcus-h/osc into master
Fix show_upstream_rev call in checkRevision in the meta=True case.
This commit is contained in:
commit
699827d091
@ -6689,7 +6689,7 @@ def checkRevision(prj, pac, revision, apiurl=None, meta=False):
|
||||
if not apiurl:
|
||||
apiurl = conf.config['apiurl']
|
||||
try:
|
||||
if int(revision) > int(show_upstream_rev(apiurl, prj, pac, meta)) \
|
||||
if int(revision) > int(show_upstream_rev(apiurl, prj, pac, meta=meta)) \
|
||||
or int(revision) <= 0:
|
||||
return False
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user