We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 362bc9a + 7a1463a commit 330c4f9Copy full SHA for 330c4f9
2 files changed
pydrive2/files.py
@@ -65,8 +65,11 @@ def _GetList(self):
65
self['supportsTeamDrives'] = True
66
self['includeTeamDriveItems'] = True
67
68
- self.metadata = self.auth.service.files().list(**dict(self)).execute(
69
- http=self.http)
+ try:
+ self.metadata = self.auth.service.files().list(**dict(self)).execute(
70
+ http=self.http)
71
+ except errors.HttpError as error:
72
+ raise ApiRequestError(error)
73
74
result = []
75
for file_metadata in self.metadata['items']:
setup.py
@@ -16,6 +16,7 @@
16
"google-api-python-client >= 1.2",
17
"oauth2client >= 4.0.0",
18
"PyYAML >= 3.0",
19
+ "httplib2 <= 0.15.0"
20
],
21
extras_require={
22
"tests": ["timeout-decorator"],
0 commit comments