diff options
author | Javier Tiá | 2016-11-10 13:08:08 -0600 |
---|---|---|
committer | Javier Tiá | 2016-11-10 13:08:08 -0600 |
commit | 1fda54f949f29cee266cbf9a70f64c84768e1849 (patch) | |
tree | 4e25d33a8259b8e20dbb3bd2633fcec062572d28 /issue_166.patch | |
parent | 3804a4d02937d434102337e261f2e7ab333c288b (diff) | |
download | aur-1fda54f949f29cee266cbf9a70f64c84768e1849.tar.gz |
Bump up gdrivefs 0.14.8-2
Diffstat (limited to 'issue_166.patch')
-rw-r--r-- | issue_166.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/issue_166.patch b/issue_166.patch new file mode 100644 index 000000000000..a85c8b80edc8 --- /dev/null +++ b/issue_166.patch @@ -0,0 +1,32 @@ +--- GDriveFS-0.14.8_orig/gdrivefs/gdtool/chunked_download.py 2016-07-16 17:27:28.000000000 +0200 ++++ GDriveFS-0.14.8/gdrivefs/gdtool/chunked_download.py 2016-11-10 15:58:06.000000000 +0100 +@@ -2,7 +2,10 @@ + import time + import random + +-import oauth2client ++try: ++ from oauth2client import util ++except ImportError: ++ from oauth2client import _helpers as util + import apiclient.http + import apiclient.errors + +@@ -19,7 +22,7 @@ + that needs to be downloaded (not a request object, which doesn't apply here). + """ + +- @oauth2client.util.positional(4) ++ @util.positional(4) + def __init__(self, fd, http, uri, chunksize=DEFAULT_CHUNK_SIZE, start_at=0): + """Constructor. + +@@ -43,7 +46,7 @@ + self._sleep = time.sleep + self._rand = random.random + +- @oauth2client.util.positional(1) ++ @util.positional(1) + def next_chunk(self, num_retries=0): + """Get the next chunk of the download. + |