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