Rev 1297: Fix character set handling. in http://people.samba.org/bzr/jelmer/bzr-svn/0.4
Jelmer Vernooij
jelmer at samba.org
Mon Jun 23 00:35:08 BST 2008
At http://people.samba.org/bzr/jelmer/bzr-svn/0.4
------------------------------------------------------------
revno: 1297
revision-id: jelmer at samba.org-20080622233507-nxncgla58u1o7swx
parent: jelmer at samba.org-20080622233020-wn5tx8kser3qv4zp
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4
timestamp: Mon 2008-06-23 01:35:07 +0200
message:
Fix character set handling.
modified:
logwalker.py logwalker.py-20060621215743-c13fhfnyzh1xzwh2-1
=== modified file 'logwalker.py'
--- a/logwalker.py 2008-06-22 23:30:20 +0000
+++ b/logwalker.py 2008-06-22 23:35:07 +0000
@@ -259,7 +259,9 @@
if revnum > 0:
has_all_revprops = self.cachedb.execute("SELECT all_revprops FROM revinfo WHERE rev=?", (revnum,)).fetchone()[0]
- known_revprops = dict(self.cachedb.execute("select name, value from revprop where rev="+str(revnum)))
+ known_revprops = {}
+ for k,v in self.cachedb.execute("select name, value from revprop where rev="+str(revnum)):
+ known_revprops[k.encode("utf-8")] = v.encode("utf-8")
else:
has_all_revprops = False
known_revprops = {}
More information about the bazaar-commits
mailing list