Skip to content
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.

Commit

Permalink
Remove @util.positional from the authorize() wrapper
Browse files Browse the repository at this point in the history
Since the original method does not have a constraint on positional
parameters, its wrapper should not either. See
http://stackoverflow.com/questions/18126157/appengine-warning-during-python-app-update/30469210
for a case where this is producing annoying warnings.
  • Loading branch information
eamonnmcmanus committed Jun 18, 2015
1 parent c815c2b commit 41c2720
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion oauth2client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,6 @@ def authorize(self, http):
request_orig = http.request

# The closure that will replace 'httplib2.Http.request'.
@util.positional(1)
def new_request(uri, method='GET', body=None, headers=None,
redirections=httplib2.DEFAULT_MAX_REDIRECTS,
connection_type=None):
Expand Down

0 comments on commit 41c2720

Please sign in to comment.