Slightly change format of commit messages in modules/github.py
This commit is contained in:
parent
9458d9fee2
commit
0cf7deed24
1 changed files with 3 additions and 3 deletions
|
@ -29,9 +29,9 @@ class Module(ModuleManager.BaseModule):
|
||||||
added_count = len(commit["added"])
|
added_count = len(commit["added"])
|
||||||
removed_count = len(commit["removed"])
|
removed_count = len(commit["removed"])
|
||||||
|
|
||||||
line = ("(%s) [files: %d/%d/%d mod/add/del] commit by %s: "
|
line = ("(%s) [files: %d/%d/%d mod/add/del] commit by '%s': %s"
|
||||||
"'%s'") % (full_name, modified_count, added_count,
|
% (full_name, modified_count, added_count,
|
||||||
removed_count, author, message)
|
removed_count, author, message))
|
||||||
hooks = self.bot.database.channel_settings.find_by_setting(
|
hooks = self.bot.database.channel_settings.find_by_setting(
|
||||||
"github-hook")
|
"github-hook")
|
||||||
hooks = [hook for hook in hooks if hook[2]]
|
hooks = [hook for hook in hooks if hook[2]]
|
||||||
|
|
Loading…
Reference in a new issue