Cleaning up 2.7 compatibility and more work on installer.
diff --git a/oauth2client/client.py b/oauth2client/client.py
index 1a3937b..c18a0ce 100644
--- a/oauth2client/client.py
+++ b/oauth2client/client.py
@@ -87,7 +87,7 @@
"""Retrieve credential.
Returns:
- apiclient.oauth.Credentials
+ oauth2client.client.Credentials
"""
_abstract()
diff --git a/oauth2client/tools.py b/oauth2client/tools.py
index 05e8b05..f2add0b 100644
--- a/oauth2client/tools.py
+++ b/oauth2client/tools.py
@@ -30,7 +30,7 @@
import sys
from optparse import OptionParser
-from apiclient.oauth import RequestError
+from client import FlowExchangeError
try:
from urlparse import parse_qsl
@@ -140,7 +140,7 @@
try:
credentials = flow.step2_exchange(code)
- except RequestError:
+ except FlowExchangeError:
sys.exit('The authentication has failed.')
storage.put(credentials)