(cls, line, payload)
return prefix + line
Prefixes lines with [RepoName] and adds colours
Prefixes lines with [RepoName] and adds colours
Prefixes lines with [ RepoName ] and adds colours
def _prefix_line(cls, line, payload):
        """
        Prefixes lines with [RepoName] and adds colours
        """

        prefix = u'{RESET}[{BLUE}{name}{RESET}] '.format(
            name=payload['repository']['name'],
            **HookService.colors
        )
        return prefix + line
def _prefix_line ( cls , line , payload ) : prefix = u'{RESET}[{BLUE}{name}{RESET}] ' . format ( name = payload [ 'repository' ] [ 'name' ] , * * HookService . colors ) return prefix + line