8000 Correctly get the commit's message · sigmavirus24/github3.py@5a4041b · GitHub
[go: up one dir, main page]

Skip to content

Commit 5a4041b

Browse files
committed
Correctly get the commit's message
1 parent 685bbfe commit 5a4041b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github3/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ def _update_attributes(self, commit):
350350
#: SHA of this commit.
351351
self.sha = commit.get('sha')
352352
#: Commit message
353-
self.message = commit.get('message')
353+
self.message = commit.get('commit').get('message')
354354
#: List of parents to this commit.
355355
self.parents = commit.get('parents', [])
356356
#: URL to view the commit on GitHub

0 commit comments

Comments
 (0)
0