Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 1.0 kB view raw
1From 8de09b82c5ac900317043e1c1025f431516b6788 Mon Sep 17 00:00:00 2001 2From: Michael Weiss <dev.primeos@gmail.com> 3Date: Tue, 21 Apr 2020 21:41:04 +0200 4Subject: [PATCH] Switch from the alias apiclient to googleapiclient 5 6This fixes the package after a breaking change / bug in 7google-api-python-client 1.8.1 (see [0] and a lot of duplicate issues). 8 9The module apiclient is just an alias for googleapiclient [1]. 10 11[0]: https://github.com/googleapis/google-api-python-client/issues/870 12[1]: https://github.com/googleapis/google-api-python-client/blob/v1.8.1/apiclient/__init__.py 13--- 14 goobook/goobook.py | 2 +- 15 1 file changed, 1 insertion(+), 1 deletion(-) 16 17diff --git a/goobook/goobook.py b/goobook/goobook.py 18index 5bcb0b3..a2e25e9 100755 19--- a/goobook/goobook.py 20+++ b/goobook/goobook.py 21@@ -31,7 +31,7 @@ import sys 22 import time 23 24 import httplib2 25-from apiclient.discovery import build 26+from googleapiclient.discovery import build 27 28 from goobook.storage import Storage, storageify, unstorageify 29 30-- 312.26.1 32