[IMP] forwardport: add missing space

Instead of "[FW]Create README.md", the forwardport PR is now named
"[FW] Create README.md"
This commit is contained in:
Martin Trigaux 2021-11-25 14:01:24 +01:00 committed by xmo-odoo
parent 91efbec943
commit ede5384607

View File

@ -646,7 +646,7 @@ class PullRequests(models.Model):
r = gh.post(f'https://api.github.com/repos/{pr.repository.name}/pulls', json={
'base': target.name,
'head': f'{owner}:{new_branch}',
'title': '[FW]' + title,
'title': '[FW]' + (' ' if title[0] != '[' else '') + title,
'body': body
})
if not r.ok: