Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0821aa2

Browse files
epalltheacodes
authored andcommitted
Remove check for a failed googleapiclient upgrade (googleapis#522)
oauth2client is not even a required dependency now, so this check throws a confusing error message
1 parent 081d2a3 commit 0821aa2

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

apiclient/__init__.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,6 @@
44

55
import googleapiclient
66

7-
try:
8-
import oauth2client
9-
except ImportError:
10-
raise RuntimeError(
11-
'Previous version of google-api-python-client detected; due to a '
12-
'packaging issue, we cannot perform an in-place upgrade. To repair, '
13-
'remove and reinstall this package, along with oauth2client and '
14-
'uritemplate. One can do this with pip via\n'
15-
' pip install -I google-api-python-client'
16-
)
17-
187
from googleapiclient import channel
198
from googleapiclient import discovery
209
from googleapiclient import errors

0 commit comments

Comments
 (0)