Mercurial > libervia-backend
changeset 3875:a0666f17f300
plugin merge-requests: fix `await` use on blocking method
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 23 Aug 2022 13:00:07 +0200 |
parents | c2b292d30c66 |
children | e3c1f4736ab2 |
files | sat/plugins/plugin_misc_merge_requests.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sat/plugins/plugin_misc_merge_requests.py Fri Jul 22 17:40:03 2022 +0200 +++ b/sat/plugins/plugin_misc_merge_requests.py Tue Aug 23 13:00:07 2022 +0200 @@ -269,7 +269,7 @@ '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'):