about summary refs log tree commit diff
path: root/third_party/lieer/discovery_doc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/lieer/discovery_doc.patch')
-rw-r--r--third_party/lieer/discovery_doc.patch15
1 files changed, 0 insertions, 15 deletions
diff --git a/third_party/lieer/discovery_doc.patch b/third_party/lieer/discovery_doc.patch
deleted file mode 100644
index fd140ac6ef97..000000000000
--- a/third_party/lieer/discovery_doc.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff --git a/lieer/remote.py b/lieer/remote.py
-index 6e3973a..2b0b59e 100644
---- a/lieer/remote.py
-+++ b/lieer/remote.py
-@@ -386,7 +386,9 @@ class Remote:
-     if timeout == 0: timeout = None
- 
-     self.http = self.credentials.authorize (httplib2.Http(timeout = timeout))
--    self.service = discovery.build ('gmail', 'v1', http = self.http)
-+    with open('${DISCOVERY_DOC}', 'r') as file:
-+      discovery_doc = file.read()
-+      self.service = discovery.build_from_document(discovery_doc, http = self.http)
-     self.authorized = True
- 
-   def __get_credentials__ (self):