| Index: client/third_party/oauth2client/util.py
|
| diff --git a/client/third_party/oauth2client/util.py b/client/third_party/oauth2client/util.py
|
| index 1150e2b62ea70ddc683b6381af7fb3311def8f23..a7e9cab8e27651bed583cd641b49591b5e1cf61b 100644
|
| --- a/client/third_party/oauth2client/util.py
|
| +++ b/client/third_party/oauth2client/util.py
|
| @@ -1,5 +1,3 @@
|
| -#!/usr/bin/env python
|
| -#
|
| # Copyright 2014 Google Inc. All rights reserved.
|
| #
|
| # Licensed under the Apache License, Version 2.0 (the "License");
|
| @@ -13,7 +11,6 @@
|
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| # See the License for the specific language governing permissions and
|
| # limitations under the License.
|
| -#
|
|
|
| """Common utility library."""
|
|
|
| @@ -186,21 +183,6 @@ def string_to_scopes(scopes):
|
| return scopes
|
|
|
|
|
| -def dict_to_tuple_key(dictionary):
|
| - """Converts a dictionary to a tuple that can be used as an immutable key.
|
| -
|
| - The resulting key is always sorted so that logically equivalent
|
| - dictionaries always produce an identical tuple for a key.
|
| -
|
| - Args:
|
| - dictionary: the dictionary to use as the key.
|
| -
|
| - Returns:
|
| - A tuple representing the dictionary in it's naturally sorted ordering.
|
| - """
|
| - return tuple(sorted(dictionary.items()))
|
| -
|
| -
|
| def _add_query_parameter(url, name, value):
|
| """Adds a query parameter to a url.
|
|
|
|
|