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

Debian Pure Blends Subversion Commit noreply at alioth.debian.org
Fri Aug 21 22:17:06 UTC 2009


Author: tille
Date: Fri Aug 21 22:17:06 2009
New Revision: 1828
URL: http://svn.debian.org/viewsvn/blends?rev=1828&view=rev

Log:
Make sure we do not run into encoding problems


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=1828&view=diff&r1=1828&r2=1827&p1=blends/trunk/webtools/blendstasktools.py&p2=blends/trunk/webtools/blendstasktools.py
==============================================================================
--- blends/trunk/webtools/blendstasktools.py	(original)
+++ blends/trunk/webtools/blendstasktools.py	Fri Aug 21 22:17:06 2009
@@ -1251,7 +1251,7 @@
                         if not dep.properties.has_key('published'):
                             dep.properties['published'] = {}
                         ptype = key.replace('Published-','').lower()
-                        dep.properties['published'][ptype] = stanza[key.lower()]
+                        dep.properties['published'][ptype] = unicode(stanza[key.lower()], 'utf-8')
                     else:
                         print >>stderr, "Dep not initiated before %s %s -> something is wrong." \
                               % (key, stanza[key.lower()])



More information about the Blends-commit mailing list