[Blends-commit] r3144 - /blends/trunk/webtools/blendstasktools.py
tille at users.alioth.debian.org
tille at users.alioth.debian.org
Sat Feb 18 17:30:08 UTC 2012
Author: tille
Date: Sat Feb 18 17:30:08 2012
New Revision: 3144
URL: http://svn.debian.org/wsvn/blends/?sc=1&rev=3144
Log:
Prevent printing of WNPP ids of just uploaded packages
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=3144&op=diff
==============================================================================
--- blends/trunk/webtools/blendstasktools.py (original)
+++ blends/trunk/webtools/blendstasktools.py Sat Feb 18 17:30:08 2012
@@ -1595,6 +1595,10 @@
else:
if dep.desc['en'] == {}:
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'):
+ del dep.properties['wnpp']
for dependency in self.dependencies.keys():
self.dependencies[dependency].sort()
More information about the Blends-commit
mailing list