diff options
Diffstat (limited to 'pygithub3/core/client.py')
-rw-r--r-- | pygithub3/core/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygithub3/core/client.py b/pygithub3/core/client.py index ce6cf7c..a8e33a1 100644 --- a/pygithub3/core/client.py +++ b/pygithub3/core/client.py @@ -59,7 +59,7 @@ class Client(object): """ Decorator to put extra args into requests.params """ def wrapper(self, verb, request, **kwargs): - diffs = kwargs.viewkeys() - VALID_REQUEST_ARGS + diffs = set(kwargs.keys()) - VALID_REQUEST_ARGS new_params = kwargs.get('params', {}) for key in diffs: # Put each key in new_params and delete it new_params[key] = kwargs[key] |