mirror of
https://github.com/YunoHost/apps.git
synced 2024-09-03 20:06:07 +02:00
[mod] make variable more readable
This commit is contained in:
parent
e73958e53b
commit
678461a962
1 changed files with 3 additions and 3 deletions
|
@ -85,10 +85,10 @@ for app, info in apps_list.items():
|
||||||
manifest = {}
|
manifest = {}
|
||||||
timestamp = None
|
timestamp = None
|
||||||
|
|
||||||
revision = already_built_file.get(app, {}).get("git", {}).get("revision", None)
|
previous_rev = already_built_file.get(app, {}).get("git", {}).get("revision", None)
|
||||||
url = already_built_file.get(app, {}).get("git", {}).get("url")
|
previous_url = already_built_file.get(app, {}).get("git", {}).get("url")
|
||||||
|
|
||||||
if revision == app_rev and url == app_url:
|
if previous_rev == app_rev and previous_url == app_url:
|
||||||
print("%s[%s] is already up to date in target output, ignore" % (app, app_rev))
|
print("%s[%s] is already up to date in target output, ignore" % (app, app_rev))
|
||||||
result_dict[app] = already_built_file[app]
|
result_dict[app] = already_built_file[app]
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Add table
Reference in a new issue