[Blends-commit] [SCM] website branch, master, updated. 2f56bbf6a21bffed8f18757302ecf1e9c9a00b82
Akshita Jha
akshita-guest at users.alioth.debian.org
Wed Jul 29 10:14:49 UTC 2015
The following commit has been merged in the master branch:
commit 2f56bbf6a21bffed8f18757302ecf1e9c9a00b82
Author: Akshita Jha <akshita-guest at users.alioth.debian.org>
Date: Wed Jul 29 15:43:43 2015 +0530
Modify blendstasktools_udd.py : Add license information for official, prospective and new packages
diff --git a/webtools_py3/blendstasktools_udd.py b/webtools_py3/blendstasktools_udd.py
index 84dd03c..94d2cae 100644
--- a/webtools_py3/blendstasktools_udd.py
+++ b/webtools_py3/blendstasktools_udd.py
@@ -1091,7 +1091,10 @@ class TaskDependencies:
elif dep.dep_strength == 'a':
dep.pkgstatus = 'avoid'
- # dep.properties['license'] is already correct
+ # license
+ if dep.component != None:
+ dep.properties['license'] = license_in_component[dep.component]
+
for prop in PROPERTIES:
dep.properties[prop] = row[prop]
@@ -1269,7 +1272,7 @@ class TaskDependencies:
dep = DependantPackage(self.blendname, self.task)
dep.pkg = each_pros[0] # Name
- dep.license = each_pros[1]
+ dep.properties['license'] = each_pros[1]
dep.dep_strength = each_pros[2]
alldepends.append(dep.pkg)
--
Static and dynamic websites for Debian Pure Blends
More information about the Blends-commit
mailing list