[Blends-commit] [SCM] website branch, master, updated. 0312f3110215f85fa04ccbe6f81b355513a0e4aa

Andreas Tille tille at debian.org
Thu Feb 13 16:23:55 UTC 2014


The following commit has been merged in the master branch:
commit 0312f3110215f85fa04ccbe6f81b355513a0e4aa
Author: Andreas Tille <tille at debian.org>
Date:   Thu Feb 13 17:28:59 2014 +0100

    Remove debugging code which was commited by accident

diff --git a/webtools/blendstasktools.py b/webtools/blendstasktools.py
index 0178af8..c58ef80 100644
--- a/webtools/blendstasktools.py
+++ b/webtools/blendstasktools.py
@@ -843,7 +843,6 @@ class DependantPackage:
                         else:
                             logger.debug("Author string changed in %s: '%s' -> '%s'", self.pkg, to_unicode(row[pub]), to_unicode(authors_string))
                             row[pub] = authors_string
-                        print "DEBUG1", row[pub]
                 if not self.properties.has_key('published'):
                     self.properties['published'] = {}
                 if self.properties['published'].has_key(pub):
@@ -856,9 +855,6 @@ class DependantPackage:
             	    else:
             	        logger.info("%s conflicting fields Publication-%s in tasks file with value '%s' and in UDD with value '%s'" % (self.pkg, pub, self.properties['published'][pub], to_unicode(row[pub])))
                 self.properties['published'][pub] = to_unicode(row[pub])
-	print "DEBUG2", row['authors']
-##	if self.properties.has_key['published']:
-##FIXME	    print "DEBUG2a", self.properties['published']['authors']
 
 class Tasks:
     # Provide a list of depencencies defined in metapackages
@@ -1659,11 +1655,6 @@ class TaskDependencies:
                 # package versions in all releases
                 dep.properties['pkg-url'] = PKGURLMASK % dep.pkg
                 dep.SetPublications(row)
-		if dep.properties.has_key('published'):
-                    try:
-                    	print "DEBUG3a", dep.properties['published']['authors']
-		    except UnicodeEncodeError, err:
-			print "DEBUG3aX", str(row['authors']), "\n", err
                 for l in languages:
                     if row['description_'+l]:
                         dep.desc[l] = {}
@@ -1725,7 +1716,6 @@ class TaskDependencies:
                 (_name, _url) = email.Utils.parseaddr(row['maintainer'])
                 dep.responsible = '<a href="mailto:%s">%s</a>' % (_url, to_unicode(_name))
                 dep.SetPublications(row)
-                print "DEBUG3b", dep.properties['published']['authors']
                 if row['changed_by']:
                     try:
                         changed = to_unicode(row['changed_by'])
@@ -1807,7 +1797,6 @@ class TaskDependencies:
                 if int(row['wnpp']) > 0:
                     dep.properties['wnpp'] = row['wnpp']
                 dep.SetPublications(row)
-                print "DEBUG3c", dep.properties['published']['authors']
                 dep.desc['en']['short'] = MarkupString(to_unicode(row['description_en']), dep.pkg, 'ShortDesc - New')
                 dep.desc['en']['long']  = Markup(render_longdesc(row['long_description_en'].splitlines()))
                 (_name, _url) = email.Utils.parseaddr(row['maintainer'])

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list