diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2020-06-19 16:43:45 -0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-06-22 20:24:18 -0300 |
commit | c353c00ef8d1897079a8c32f7913ea5d33331de2 (patch) | |
tree | da832695e56fac58468eccc7710eb21797c72cf8 /cloud_mdir_sync/util.py | |
parent | c607f4a3cbd9cc4c9611db12bfe175b52de514e1 (diff) | |
download | cloud_mdir_sync-c353c00ef8d1897079a8c32f7913ea5d33331de2.tar.gz cloud_mdir_sync-c353c00ef8d1897079a8c32f7913ea5d33331de2.tar.bz2 cloud_mdir_sync-c353c00ef8d1897079a8c32f7913ea5d33331de2.zip |
OAUTH: Make some sense of the scopes
With the ability to run as a broker for IMAP/SMTP we can limit the scopes
requested based on the configuration. Add a fake _CMS_ protocol that
refers to the scopes required to operate internally.
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'cloud_mdir_sync/util.py')
-rw-r--r-- | cloud_mdir_sync/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloud_mdir_sync/util.py b/cloud_mdir_sync/util.py index df8ce59..836bf56 100644 --- a/cloud_mdir_sync/util.py +++ b/cloud_mdir_sync/util.py @@ -77,7 +77,7 @@ async def asyncio_complete(*awo_list): is thrown then all the awaitables are canceled""" g = asyncio.gather(*awo_list) try: - await g + return await g finally: g.cancel() await asyncio.gather(*awo_list, return_exceptions=True) |