From 812de035824c6fec687592f93f7bbb5a0651f828 Mon Sep 17 00:00:00 2001
From: Laurent Peuch <cortex@worlddomination.be>
Date: Fri, 20 Jan 2017 11:34:55 +0100
Subject: [PATCH] [mod] make code more lisible

---
 list_builder.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/list_builder.py b/list_builder.py
index 55740fb..e0ff66f 100755
--- a/list_builder.py
+++ b/list_builder.py
@@ -85,7 +85,10 @@ for app, info in apps_list.items():
     manifest = {}
     timestamp = None
 
-    if already_built_file.get(app, {}).get("git", {}).get("revision", None) == app_rev and already_built_file.get(app, {}).get("git", {}).get("url") == app_url:
+    revision = already_built_file.get(app, {}).get("git", {}).get("revision", None)
+    url = already_built_file.get(app, {}).get("git", {}).get("url")
+
+    if revision == app_rev and url == app_url:
         print("%s[%s] is already up to date in target output, ignore" % (app, app_rev))
         result_dict[app] = already_built_file[app]
         continue