diff options
| author | 2018-10-06 16:44:39 +0100 | |
|---|---|---|
| committer | 2018-10-06 16:44:39 +0100 | |
| commit | 0cf7deed245ea468810d1cfc700b36baf260c28b (patch) | |
| tree | 0ce6b0907c610926c2f408d19d0256768d1f1607 /modules/github.py | |
| parent | 'control_socket_client' -> '_control_client' in src/IRCBot.py (diff) | |
| signature | ||
Slightly change format of commit messages in modules/github.py
Diffstat (limited to 'modules/github.py')
| -rw-r--r-- | modules/github.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/github.py b/modules/github.py index ab5744b2..b21b0f36 100644 --- a/modules/github.py +++ b/modules/github.py @@ -29,9 +29,9 @@ class Module(ModuleManager.BaseModule): added_count = len(commit["added"]) removed_count = len(commit["removed"]) - line = ("(%s) [files: %d/%d/%d mod/add/del] commit by %s: " - "'%s'") % (full_name, modified_count, added_count, - removed_count, author, message) + line = ("(%s) [files: %d/%d/%d mod/add/del] commit by '%s': %s" + % (full_name, modified_count, added_count, + removed_count, author, message)) hooks = self.bot.database.channel_settings.find_by_setting( "github-hook") hooks = [hook for hook in hooks if hook[2]] |
