[mod] make variable more readable

This commit is contained in:
Laurent Peuch 2017-01-20 11:45:43 +01:00
parent 0ddb023516
commit 018cb77706

View file

@ -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