mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] runbot_merge: screwed up associativity of if/else
This commit is contained in:
parent
8a55407f87
commit
300f55d864
@ -256,7 +256,7 @@ def handle_review(env, event):
|
||||
firstline = pr.repository.project_id.github_prefix + ' r-'
|
||||
|
||||
body = event['review']['body']
|
||||
return pr._parse_commands(partner, firstline + ('\n' + body) if body else '')
|
||||
return pr._parse_commands(partner, firstline + (('\n' + body) if body else ''))
|
||||
|
||||
def handle_ping(env, event):
|
||||
print("Got ping! {}".format(event['zen']))
|
||||
|
Loading…
Reference in New Issue
Block a user