diff options
| author | 2019-02-11 11:17:07 +0000 | |
|---|---|---|
| committer | 2019-02-11 11:17:07 +0000 | |
| commit | 399723db942a83542693d4759aa993ffb62cf2d7 (patch) | |
| tree | 26d766dd08c5022f6ccb14eff294c7a617ed06c6 /modules/github/__init__.py | |
| parent | Actually return function hook from _shutdown_hook (admin.py) (diff) | |
| signature | ||
Show file add/remove/change *after* saying it's a push (github)
Diffstat (limited to 'modules/github/__init__.py')
| -rw-r--r-- | modules/github/__init__.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/github/__init__.py b/modules/github/__init__.py index e2385fd6..9a9e97a7 100644 --- a/modules/github/__init__.py +++ b/modules/github/__init__.py @@ -422,8 +422,8 @@ class Module(ModuleManager.BaseModule): modified = self._modified(len(commit["modified"])) outputs.append( - "[%s/%s/%s files] %s %spushed to %s: %s - %s" - % (added, removed, modified, author, forced, branch, + "%s %spushed to %s [%s/%s/%s files] %s - %s" + % (author, forced, branch, added, removed, modified, message, url)) else: first_id = self._short_hash(data["before"]) @@ -438,9 +438,9 @@ class Module(ModuleManager.BaseModule): modified = self._modified(len(self._flat_unique(commits, "modified"))) - outputs.append("[%s/%s/%s files] %s %spushed %d commits to %s - %s" - % (added, removed, modified, pusher, forced, - len(data["commits"]), branch, url)) + outputs.append("%s %spushed %d commits to %s [%s/%s/%s files] - %s" + % (pusher, forced, len(data["commits"]), branch, + added, removed, modified, url)) return outputs |
