diff options
| author | 2018-11-17 08:28:48 +0000 | |
|---|---|---|
| committer | 2018-11-17 08:28:48 +0000 | |
| commit | b15ef9f73969a6ce3061f6e0dd70d670bb758c41 (patch) | |
| tree | b149d7b8737001ebb2185e00726eacfeaceff84c /modules | |
| parent | Typo in modules/github.py, 'moddified' -> 'modified' (diff) | |
| signature | ||
use "before" commit hash for comparing a range of commits
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/github.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/github.py b/modules/github.py index ca3a7787..c1e25f3a 100644 --- a/modules/github.py +++ b/modules/github.py @@ -100,7 +100,7 @@ class Module(ModuleManager.BaseModule): % (full_name, added, removed, modified, author, message, url)) else: - first_id = self._short_hash(data["commits"][0]["id"]) + first_id = self._short_hash(data["before"]) last_id = self._short_hash(data["commits"][-1]["id"]) pusher = data["pusher"]["name"] url = COMMIT_RANGE_URL % (full_name, first_id, last_id) |
