Mercurial > p > roundup > code
diff roundup/mailgw.py @ 7230:8e118eb20d86
flake8 spacing changes, split multiple imports
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 19 Mar 2023 12:26:42 -0400 |
| parents | 357e185752ed |
| children | 86862ed039fa |
line wrap: on
line diff
--- a/roundup/mailgw.py Sun Mar 19 12:22:51 2023 -0400 +++ b/roundup/mailgw.py Sun Mar 19 12:26:42 2023 -0400 @@ -1465,10 +1465,10 @@ with open(os.path.join(self.oauth_path, 'client_id'), 'r') as f: client_id = f.read().strip() data = dict( - client_id = client_id, - client_secret = client_secret, - refresh_token = self.refresh_token, - grant_type = 'refresh_token' + client_id=client_id, + client_secret=client_secret, + refresh_token=self.refresh_token, + grant_type='refresh_token' ) session = requests.session() r = session.post(self.token_endpoint, data=data)
