Make git commit "add/mod/del" more concise

This commit is contained in:
jesopo 2018-10-08 15:09:28 +01:00
parent 6b42494b92
commit 639b21f145

View file

@ -30,8 +30,8 @@ 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': %s" line = ("(%s) [files: +%d%d -%d] commit by '%s': %s"
% (full_name, modified_count, added_count, % (full_name, added_count, modified_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")