plugin merge-requests: fix await use on blocking method

This commit is contained in:
Goffi 2022-08-23 13:00:07 +02:00
commit b6d57c0495

View file

@ -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'):