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

tille at users.alioth.debian.org tille at users.alioth.debian.org
Mon May 2 17:21:19 UTC 2011


Author: tille
Date: Mon May  2 17:21:08 2011
New Revision: 2808

URL: http://svn.debian.org/wsvn/blends/?sc=1&rev=2808
Log:
Make sure not all prospective packages featuring Vcs fields will vanish

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=2808&op=diff
==============================================================================
--- blends/trunk/webtools/blendstasktools.py (original)
+++ blends/trunk/webtools/blendstasktools.py Mon May  2 17:21:08 2011
@@ -1524,7 +1524,7 @@
             for dep in self.dependencies[status]:
                 if dep.pkg not in pkgs_in_pool and dep.pkg not in pkgs_in_new and dep.pkg not in pkgs_virtual and (dep.pkgstatus == 'unknown' or dep.pkgstatus == 'pkgvcs'):
                     # If only Vcs fields are given than we currently do not know enough to print package information
-                    if dep.pkgstatus == 'pkgvcs':
+                    if dep.pkgstatus == 'pkgvcs' and (dep.properties['homepage'] == HOMEPAGENONE or dep.desc['en'] == {}):
                         logger.error("Package %s in task %s has only Vcs information - please provide more information" % (dep.pkg, dep.taskname))
                         self.dependencies[status].remove(dep)
                         # dep.pkgstatus == 'unknown'




More information about the Blends-commit mailing list