The following commit has been merged in the master branch:
commit be33a254f91d4fcaabc0c4b6bb0f67f02e71e739
Author: Emmanouil Kiagias <[email protected]>
Date:   Wed Sep 18 16:25:04 2013 +0200

    fixed bug in tasks_diff script, the set comparison(for added/removed 
packages) was the opposite that it should be, now tasks_diff compares properly 
any two Blends releases

diff --git a/tasks_diff b/tasks_diff
index 0c9f119..6980b1a 100755
--- a/tasks_diff
+++ b/tasks_diff
@@ -106,7 +106,7 @@ def compare_tasks(tasks, tasks_compare, taskprefix):
                task_first = True 
                first_add = True
                for header in ["depends", "recommends", "suggests", "ignore", 
"avoid"]:
-                       added = set(tasks_compare[task][header]) - 
set(tasks[task][header])
+                       added =  set(tasks[task][header]) - 
set(tasks_compare[task][header])
                        if added:
                                if first_print:
                                        print START_FLAG, "\n"
@@ -123,7 +123,7 @@ def compare_tasks(tasks, tasks_compare, taskprefix):
                
                first_remove = True
                for header in ["depends", "recommends", "suggests", "ignore", 
"avoid"]:
-                       removed = set(tasks[task][header]) - 
set(tasks_compare[task][header])
+                       removed =  set(tasks_compare[task][header]) - 
set(tasks[task][header])
                        if removed:
                                if first_print:
                                        print START_FLAG, "\n"

-- 
Git repository for blends-gsoc code

_______________________________________________
Blends-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/blends-commit

Reply via email to