summaryrefslogtreecommitdiffstats
path: root/scripts/bitbake-whatchanged
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/bitbake-whatchanged')
-rwxr-xr-xscripts/bitbake-whatchanged6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/bitbake-whatchanged b/scripts/bitbake-whatchanged
index a20adb2841..b05aead9a1 100755
--- a/scripts/bitbake-whatchanged
+++ b/scripts/bitbake-whatchanged
@@ -120,7 +120,7 @@ def print_added(d_new = None, d_old = None):
120 Print the newly added tasks 120 Print the newly added tasks
121 """ 121 """
122 added = {} 122 added = {}
123 for k in d_new.keys(): 123 for k in list(d_new.keys()):
124 if k not in d_old: 124 if k not in d_old:
125 # Add the new one to added dict, and remove it from 125 # Add the new one to added dict, and remove it from
126 # d_new, so the remaining ones are the changed ones 126 # d_new, so the remaining ones are the changed ones
@@ -155,7 +155,7 @@ def print_vrchanged(d_new = None, d_old = None, vr = None):
155 """ 155 """
156 pvchanged = {} 156 pvchanged = {}
157 counter = 0 157 counter = 0
158 for k in d_new.keys(): 158 for k in list(d_new.keys()):
159 if d_new.get(k).get(vr) != d_old.get(k).get(vr): 159 if d_new.get(k).get(vr) != d_old.get(k).get(vr):
160 counter += 1 160 counter += 1
161 pn, task = split_pntask(k) 161 pn, task = split_pntask(k)
@@ -279,7 +279,7 @@ Note:
279 279
280 # Remove the same one from both stamps. 280 # Remove the same one from both stamps.
281 cnt_unchanged = 0 281 cnt_unchanged = 0
282 for k in new_dict.keys(): 282 for k in list(new_dict.keys()):
283 if k in old_dict: 283 if k in old_dict:
284 cnt_unchanged += 1 284 cnt_unchanged += 1
285 del(new_dict[k]) 285 del(new_dict[k])