[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    l10n-support/pology/misc
From:       Chusslove Illich <caslav.ilic () gmx ! net>
Date:       2008-09-30 21:41:10
Message-ID: 1222810870.998793.6821.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 866448 by ilic:

Always return string of same type as input text.

 M  +1 -1      resolve.py  


--- trunk/l10n-support/pology/misc/resolve.py #866447:866448
@@ -566,7 +566,7 @@
                    "at column %d in string '%s'" % (varname, pp, text))
         ntext.append("%s" % varvalue)
 
-    return "".join(ntext)
+    return type(text)("").join(ntext)
 
 
 _usual_accels = list("_&~^")
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic