summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oe/buildhistory_analysis.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/lib/oe/buildhistory_analysis.py b/meta/lib/oe/buildhistory_analysis.py
index 2d6fa1779e..b1856846b6 100644
--- a/meta/lib/oe/buildhistory_analysis.py
+++ b/meta/lib/oe/buildhistory_analysis.py
@@ -373,8 +373,10 @@ def compare_file_lists(alines, blines, compare_ownership=True):
373 removals.remove(removal2) 373 removals.remove(removal2)
374 continue 374 continue
375 filechanges.append(FileChange(removal, FileChange.changetype_move, addition)) 375 filechanges.append(FileChange(removal, FileChange.changetype_move, addition))
376 additions.remove(addition) 376 if addition in additions:
377 removals.remove(removal) 377 additions.remove(addition)
378 if removal in removals:
379 removals.remove(removal)
378 for rename in renames: 380 for rename in renames:
379 filechanges.append(FileChange(renames[rename], FileChange.changetype_move, rename)) 381 filechanges.append(FileChange(renames[rename], FileChange.changetype_move, rename))
380 382