Skip to content

Commit 4dc5586

Browse files
author
api.jscudder
committed
Fixed wrong name in TokenUpgradeFailed exception constructor.
1 parent 96d7728 commit 4dc5586

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gdata/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ def UpgradeToSessionToken(self):
561561
# TODO: add the token to the token_store directly.
562562
self.SetAuthSubToken(gdata.auth.TokenFromHttpBody(response_body))
563563
else:
564-
raise TokenUpgradeFailed({'status': server_response.status,
564+
raise TokenUpgradeFailed({'status': response.status,
565565
'reason': 'Non 200 response on upgrade',
566566
'body': result_body})
567567

0 commit comments

Comments
 (0)