Rev 1554: Fix double encoding. in file:///data/jelmer/bzr-svn/pushmerged/
Jelmer Vernooij
jelmer at samba.org
Sun Aug 3 16:12:03 BST 2008
At file:///data/jelmer/bzr-svn/pushmerged/
------------------------------------------------------------
revno: 1554
revision-id: jelmer at samba.org-20080803151202-k2p9frleszlhz94a
parent: jelmer at samba.org-20080803055344-7k7n1t6sdudph13f
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: pushmerged
timestamp: Sun 2008-08-03 17:12:02 +0200
message:
Fix double encoding.
modified:
branchprops.py branchprops.py-20061223204623-80lvm7pjrpsgk0dd-1
=== modified file 'branchprops.py'
--- a/branchprops.py 2008-07-21 20:46:23 +0000
+++ b/branchprops.py 2008-08-03 15:12:02 +0000
@@ -67,8 +67,8 @@
if prev_path is None and prev_revnum == -1:
previous = {}
else:
- previous = self.get_properties(prev_path.encode("utf-8"),
- prev_revnum)
+ assert isinstance(prev_path, str)
+ previous = self.get_properties(prev_path, prev_revnum)
ret = {}
for key, val in current.items():
if previous.get(key) != val:
More information about the bazaar-commits
mailing list