File everpad-thrift-update.patch of Package everpad

Index: everpad/everpad/provider/tools.py
===================================================================
--- everpad.orig/everpad/provider/tools.py
+++ everpad/everpad/provider/tools.py
@@ -46,7 +46,7 @@ def get_user_store(auth_token=None):
     user_store_uri = "https://" + HOST + "/edam/user"
 
     user_store_http_client = THttpClient.THttpClient(user_store_uri,
-            http_proxy=get_proxy_config(urlparse(user_store_uri).scheme))
+            proxy_host=get_proxy_config(urlparse(user_store_uri).scheme))
     user_store_protocol = TBinaryProtocol.TBinaryProtocol(user_store_http_client)
     return UserStore.Client(user_store_protocol)
 
@@ -57,6 +57,6 @@ def get_note_store(auth_token=None):
     user_store = get_user_store(auth_token)
     note_store_url = user_store.getNoteStoreUrl(auth_token)
     note_store_http_client = THttpClient.THttpClient(note_store_url,
-            http_proxy=get_proxy_config(urlparse(note_store_url).scheme))
+            proxy_host=get_proxy_config(urlparse(note_store_url).scheme))
     note_store_protocol = TBinaryProtocol.TBinaryProtocol(note_store_http_client)
     return NoteStore.Client(note_store_protocol)
openSUSE Build Service is sponsored by