plugin merge-requests: fix await use on blocking method
This commit is contained in:
parent
6bb76a2bd0
commit
b6d57c0495
1 changed files with 1 additions and 1 deletions
|
|
@ -269,7 +269,7 @@ class MergeRequests(object):
|
|||
'change to send?'))
|
||||
|
||||
if not values.get('title') or not values.get('body'):
|
||||
patches = await handler.parse(data, values.get(FIELD_DATA_TYPE))
|
||||
patches = handler.parse(data, values.get(FIELD_DATA_TYPE))
|
||||
commits_msg = patches[-1][self.META_COMMIT_MSG]
|
||||
msg_lines = commits_msg.splitlines()
|
||||
if not values.get('title'):
|
||||
|
|
|
|||
Loading…
Reference in a new issue