GoogleCloudPlatform / gcs-oauth2-boto-plugin

Auth plugin allowing use the use of OAuth 2.0 credentials for Google Cloud Storage in the Boto library.
Apache License 2.0
21 stars 38 forks source link

Remove deprecation warning. #14

Closed lucmult closed 5 years ago

lucmult commented 9 years ago

/usr/lib/python2.7/dist-packages/gcs_oauth2_boto_plugin/oauth2_client.py:584: PendingDeprecationWarning: cgi.parse_qs is deprecated, use urlparse.parse_qs instead

kv = cgi.parse_qs(query)

cgi.parse_qs is deprecated and in fact it only calls urlparse.parse_qs: https://hg.python.org/releasing/2.7.9/file/753a8f457ddc/Lib/cgi.py#l180