From 4de95cd5dfa6209db8c0d9e1d09f4152f912967a Mon Sep 17 00:00:00 2001 From: Craig Citro Date: Fri, 21 Nov 2014 08:46:53 -0800 Subject: [PATCH] Fix a bad six rename. Fixes #77. --- oauth2client/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oauth2client/client.py b/oauth2client/client.py index de15e09..df86c3b 100644 --- a/oauth2client/client.py +++ b/oauth2client/client.py @@ -1739,7 +1739,7 @@ class OAuth2WebServerFlow(Flow): if self.device_uri is None: raise ValueError('The value of device_uri must not be None.') - body = urllib.urlencode({ + body = urllib.parse.urlencode({ 'client_id': self.client_id, 'scope': self.scope, })