Show More
@@ -37,10 +37,8 b' class GitChangeset(BaseChangeset):' | |||
|
37 | 37 | self._commit = commit |
|
38 | 38 | self._tree_id = commit.tree |
|
39 | 39 | |
|
40 | try: | |
|
41 | self.message = safe_unicode(commit.message) | |
|
42 | except UnicodeDecodeError: | |
|
43 | self.message = commit.message.decode(commit.encoding or 'utf-8') | |
|
40 | self.message = safe_unicode(commit.message) | |
|
41 | ||
|
44 | 42 | #self.branch = None |
|
45 | 43 | self.tags = [] |
|
46 | 44 | self.nodes = {} |
General Comments 0
You need to be logged in to leave comments.
Login now