mirror of
https://github.com/YunoHost/yunodevtools.git
synced 2024-09-03 20:16:19 +02:00
Small hotfix to fix issues related to the new apps list
This commit is contained in:
parent
c1f4e18054
commit
bad63e51dd
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ for app, info in apps_list.items():
|
||||||
url = "https://api.github.com/repos/{}/{}/compare/{}...{}".format(owner, repo, previous_rev, app_branch)
|
url = "https://api.github.com/repos/{}/{}/compare/{}...{}".format(owner, repo, previous_rev, app_branch)
|
||||||
diff = get_json(url)
|
diff = get_json(url)
|
||||||
|
|
||||||
if not diff["commits"]:
|
if not diff or not diff["commits"]:
|
||||||
app_rev = previous_rev if previous_rev != 'HEAD' else app_rev
|
app_rev = previous_rev if previous_rev != 'HEAD' else app_rev
|
||||||
else:
|
else:
|
||||||
# Only if those files got updated, do we want to update the
|
# Only if those files got updated, do we want to update the
|
||||||
|
|
Loading…
Add table
Reference in a new issue