[Blends-commit] [SCM] blends-gsoc branch, master, updated. 5acc9cb759565779eb22a0488cf0730df7f2d2ae
Emmanouil Kiagias
e.kiagias at gmail.com
Mon Jul 8 09:45:13 UTC 2013
The following commit has been merged in the master branch:
commit 5acc9cb759565779eb22a0488cf0730df7f2d2ae
Author: Emmanouil Kiagias <e.kiagias at gmail.com>
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
More information about the Blends-commit
mailing list