[Blends-commit] r3344 - /blends/trunk/webtools/blendstasktools.py

tille at users.alioth.debian.org tille at users.alioth.debian.org
Wed May 23 13:29:21 UTC 2012


Author: tille
Date: Wed May 23 13:29:20 2012
New Revision: 3344

URL: http://svn.debian.org/wsvn/blends/?sc=1&rev=3344
Log:
Regard licensing information from prospective packages gatherer

Modified:
    blends/trunk/webtools/blendstasktools.py

Modified: blends/trunk/webtools/blendstasktools.py
URL: http://svn.debian.org/wsvn/blends/blends/trunk/webtools/blendstasktools.py?rev=3344&op=diff
==============================================================================
--- blends/trunk/webtools/blendstasktools.py (original)
+++ blends/trunk/webtools/blendstasktools.py Wed May 23 13:29:20 2012
@@ -360,7 +360,8 @@
                    p.vcs_url     AS "vcs-url",
                    p.vcs_type    AS "vcs-type",
                    p.vcs_browser AS "vcs-browser",
-                   p.blend
+                   p.blend,
+                   p.license
                    FROM blends_prospectivepackages p
                    WHERE package = ANY ($1)"""
 _execute_udd_query(query)
@@ -1689,7 +1690,7 @@
                     logger.info("The package %s is not yet in Debian but it is just in Blends %s Vcs. (Task %s)" % (dep.pkg, row['blend'], dep.taskname))
                 for prop in PROPERTIES:
                     dep.properties[prop] = row[prop]
-                for prop in ('vcs-url', 'vcs-browser', 'vcs-type'):
+                for prop in ('vcs-url', 'vcs-browser', 'vcs-type', 'license'):
                     dep.properties[prop] = row[prop]
                 dep.desc['en']['short'] = MarkupString(to_unicode(row['description_en']), dep.pkg, 'ShortDesc - New')
                 dep.desc['en']['long']  = Markup(render_longdesc(row['long_description_en'].splitlines()))




More information about the Blends-commit mailing list