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

tille at users.alioth.debian.org tille at users.alioth.debian.org
Sat Feb 18 18:32:21 UTC 2012


Author: tille
Date: Sat Feb 18 18:32:21 2012
New Revision: 3147

URL: http://svn.debian.org/wsvn/blends/?sc=1&rev=3147
Log:
Make sure wnpp information is only removed if package is really included.

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=3147&op=diff
==============================================================================
--- blends/trunk/webtools/blendstasktools.py (original)
+++ blends/trunk/webtools/blendstasktools.py Sat Feb 18 18:32:21 2012
@@ -1597,7 +1597,7 @@
                             logger.error("Package %s neither in pool nor new and has no description - ignored" % dep.pkg)
                 else:
                     # prevent printing WNPP of packages inside Debian
-                    if dep.properties.has_key('wnpp'):
+                    if dep.properties.has_key('wnpp') and dep.pkgstatus != 'wnpp':
                         del dep.properties['wnpp']
 
         for dependency in self.dependencies.keys():




More information about the Blends-commit mailing list