Skip to content

Commit

Permalink
Merge branch 'checkRevision_meta_mode' of https://github.com/marcus-h…
Browse files Browse the repository at this point in the history
…/osc into master

Fix show_upstream_rev call in checkRevision in the meta=True
case.
  • Loading branch information
marcus-h committed Oct 27, 2020
2 parents 4ee9c1a + b573f02 commit 699827d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osc/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 699827d

Please sign in to comment.