[Blends-commit] r1969 - blends/trunk/webtools

Debian Pure Blends Subversion Commit noreply at alioth.debian.org
Wed Nov 4 22:41:39 UTC 2009


Author: tille
Date: Wed Nov  4 22:41:39 2009
New Revision: 1969
URL: http://svn.debian.org/viewsvn/blends?rev=1969&view=rev

Log:
Ignore prospective packages with missing description


Modified:
   blends/trunk/webtools/blendstasktools.py

Modified: blends/trunk/webtools/blendstasktools.py
URL: http://svn.debian.org/viewsvn/blends/blends/trunk/webtools/blendstasktools.py?rev=1969&view=diff&r1=1969&r2=1968&p1=blends/trunk/webtools/blendstasktools.py&p2=blends/trunk/webtools/blendstasktools.py
==============================================================================
--- blends/trunk/webtools/blendstasktools.py	(original)
+++ blends/trunk/webtools/blendstasktools.py	Wed Nov  4 22:41:39 2009
@@ -1447,8 +1447,11 @@
                     dep.remark = remark
                 if fields_obsolete != [] and dep.pkgstatus != 'new':
                     print "Package %s is an official package and has information in UDD. The following extra information can be removed from tasks file:" % dep.pkg, fields_obsolete
-                self._AppendDependency2List(dep, source)
-                
+                if dep.desc['en'] == {}:
+                    print >>stderr, "Missing description for package %s.  This package will be ignored completely." % (dep.pkg)
+                else:
+                    self._AppendDependency2List(dep, source)
+
         f.close()
 
         for dependency in self.dependencies.keys():



More information about the Blends-commit mailing list