dsoprea / GDriveFS

An innovative FUSE wrapper for Google Drive.
GNU General Public License v2.0
662 stars 96 forks source link

gdtool/chunked_download: fix broken import #175

Closed 10ne1 closed 6 years ago

10ne1 commented 7 years ago

After oauth2client commit 2f5c53b1fa ("Merge util.py and _helpers.py") the functionality provided by util is in _helpers.

This fixes the import to work with both newer and older versions of oauth2client, until the older version gets deprecated.

Signed-off-by: Ioan-Adrian Ratiu adi@adirat.com

asreimer commented 6 years ago

I can confirm this fixes the problem referred to in #166.

@dsoprea, any reason this cannot be merged? This pull request preserves backwards compatibility and also supports oath2client>2.2.0.

Without this, gdfs is completely broken for anyone using newer packages, which is too bad considering how simple of a fix it is.

dsoprea commented 6 years ago

Thanks for mentioning. I had missed this.

asreimer commented 6 years ago

Awesome! Thanks for the quick turn around.