The following commit has been merged in the master branch:
commit 5acc9cb759565779eb22a0488cf0730df7f2d2ae
Author: Emmanouil Kiagias <[email protected]>
Date:   Mon Jul 8 11:40:03 2013 +0200

    bug fix in blend-gen-control

diff --git a/blend-gen-control b/blend-gen-control
index a7b7d8a..9e7b401 100755
--- a/blend-gen-control
+++ b/blend-gen-control
@@ -346,16 +346,16 @@ class UDD_connector:
                     blend_alternatives[task]["Recommends"] = temp_depends + 
temp_recommends
                 
                 for header in [ "Depends", "Recommends", "Suggests", 
"Ignores", "Avoid" ]:
-                    if blend_alternatives[task][header]:
-                        package_list = blend_dependencies[task][header]
-                        alternatives = blend_alternatives[task][header]
+                    package_list = blend_dependencies[task][header]
+                    alternatives = blend_alternatives[task][header]
 
-                        if header == 'Suggests':
-                            if nodepends or taskdescription:
-                                alternatives += 
blend_alternatives[task]["Recommends"]
-                            else:
-                                alternatives += 
blend_alternatives[task]["Depends"]
+                    if header == "Suggests":
+                        if nodepends or taskdescription:
+                            alternatives += 
blend_alternatives[task]["Recommends"]
+                        else:
+                            alternatives += blend_alternatives[task]["Depends"]
 
+                    if alternatives:
                         #change previous package list with the alternatives 
resolved package list
                         blend_dependencies[task][header] = 
self.__resolve_alternatives(package_list, alternatives)
 

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