summaryrefslogtreecommitdiff
path: root/bzr_commit_handler.py
diff options
context:
space:
mode:
Diffstat (limited to 'bzr_commit_handler.py')
-rw-r--r--bzr_commit_handler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bzr_commit_handler.py b/bzr_commit_handler.py
index 31dd578..06bec0f 100644
--- a/bzr_commit_handler.py
+++ b/bzr_commit_handler.py
@@ -295,7 +295,7 @@ class GenericCommitHandler(processor.CommitHandler):
# make sure the cache used by get_lines knows that
self.lines_for_commit[file_id] = []
elif kind == 'symlink':
- ie.symlink_target = data.encode('utf8')
+ ie.symlink_target = data.decode('utf8')
# There are no lines stored for a symlink so
# make sure the cache used by get_lines knows that
self.lines_for_commit[file_id] = []