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

tille at users.alioth.debian.org tille at users.alioth.debian.org
Sat Feb 25 17:10:26 UTC 2012


Author: tille
Date: Sat Feb 25 17:10:26 2012
New Revision: 3165

URL: http://svn.debian.org/wsvn/blends/?sc=1&rev=3165
Log:
Shorter debug messages

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=3165&op=diff
==============================================================================
--- blends/trunk/webtools/blendstasktools.py (original)
+++ blends/trunk/webtools/blendstasktools.py Sat Feb 25 17:10:26 2012
@@ -1487,7 +1487,7 @@
                         if row['long_description_'+l]:
                             dep.desc[l]['long']  = Markup(render_longdesc(row['long_description_'+l].splitlines()))
                 if not dep.desc['en'].has_key('short'):
-                    logger.error("Dep has no English short description: %s", str(dep))
+                    logger.error("Dep has no English short description: %s", dep.pkg)
                     dep.desc['en']['short'] = "??? missing short description for package %s :-(" % dep.pkg
                 (_name, _url) = email.Utils.parseaddr(row['maintainer'])
                 dep.properties['maintainer'] = to_unicode(row['maintainer'])
@@ -1727,7 +1727,7 @@
                     try:
                         dep.desc['en']['long']  = MarkupString(dep.desc['en']['long'],  dep.pkg, 'pkgLongDesc')
                     except KeyError:
-                        logger.error("Dep has no English long description: %s", str(dep))
+                        logger.error("Dep has no English long description: %s", dep.pkg)
                         dep.desc['en']['long'] = "??? Missing long description for package %s" % dep.pkg
 
     def __str__(self):




More information about the Blends-commit mailing list