The following commit has been merged in the master branch:
commit 393a7d27be0ee7f0a18a1bcafc5d5373495e26c8
Author: Akshita Jha <[email protected]>
Date:   Wed Aug 5 16:58:22 2015 +0530

    Modify blendstasktools_udd.py : Add 'enhanced by' information for packakges 
in tasks file'

diff --git a/webtools_py3/blendstasktools_udd.py 
b/webtools_py3/blendstasktools_udd.py
index 1ff6158..9d1faec 100644
--- a/webtools_py3/blendstasktools_udd.py
+++ b/webtools_py3/blendstasktools_udd.py
@@ -1163,12 +1163,10 @@ class TaskDependencies:
                 if dep.properties['vcs-browser'] == HOMEPAGENONE: # and 
type_vcs != '' and type_url != '':
                     dep.properties['vcs-browser'] = 
BrowserFromVcsURL(dep.properties['vcs-type'], dep.properties['vcs-url'])
 
-            # enhances to be written
-            # if row['enhanced']:
-            #    for pkg in row['enhanced']:
-            #        dep.properties['Enhances'][pkg] = PKGURLMASK % pkg
-            #        enhancing_pkgs.append(pkg)
-
+            # enhanced by
+            if 'enhanced' in row and row['enhanced'] != None:
+                for pkg in row['enhanced']:
+                    dep.properties['Enhances'][pkg] = PKGURLMASK % pkg
 
             if 'releases' in row:
                 # reorder the 'releases' based on the release order (as per 
'sort' field in releases table)

-- 
Static and dynamic websites for Debian Pure Blends

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

Reply via email to