Skip to content

Commit dec8307

Browse files
committed
Shortening lines for the stickler
1 parent 8a10e72 commit dec8307

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

pydomo/Transport.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,11 @@ def request(self, url, method, headers, params=None, body=None):
8484

8585
def _renew_access_token(self):
8686
self.logger.debug("Renewing Access Token")
87-
request_args = {'method': HTTPMethod.POST,
88-
'url': self.apiHost + '/oauth/token?grant_type=client_credentials',
89-
'auth': HTTPBasicAuth(self.clientId, self.clientSecret)}
87+
request_args = {
88+
'method': HTTPMethod.POST,
89+
'url': self.apiHost + '/oauth/token?grant_type=client_credentials',
90+
'auth': HTTPBasicAuth(self.clientId, self.clientSecret)
91+
}
9092
if self.request_timeout:
9193
request_args['timeout'] = self.request_timeout
9294

0 commit comments

Comments
 (0)