Duke-GCB / DukeDSClient

Command line program to allow uploading, downloading, and managing projects in the duke-data-service.
MIT License
5 stars 6 forks source link

Fixes KeyError when adding user by email under python2 #276

Closed johnbradley closed 5 years ago

johnbradley commented 5 years ago

The str implementation that is part of python-future is incompatible with urlencode. This caused the KeyError when attempting to pass an email address to requests. The python-future str implementation is meant to be a backport of the python3 str. In this PR we go back to using unicode and silence the bogus flake8 error unicode raises

Fixes #275