diff options
author | Andrei Fokau <andrei@5monkeys.se> | 2013-02-06 19:07:51 +0100 |
---|---|---|
committer | Andrei Fokau <andrei@5monkeys.se> | 2013-02-06 19:08:43 +0100 |
commit | a4b6dfc1693879bfcc8f8d841327a89ad499197a (patch) | |
tree | 80f7782877f920813b31d377dfff9573bb3d89a5 | |
parent | c0f1a9ec3df123eea7c24159f02c205bf0a3f3ea (diff) | |
download | oauthlib-a4b6dfc1693879bfcc8f8d841327a89ad499197a.tar.gz |
Fixed attribute initialization added by prev commit.
-rw-r--r-- | oauthlib/oauth2/draft25/errors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oauthlib/oauth2/draft25/errors.py b/oauthlib/oauth2/draft25/errors.py index a5ca4d3..a92bf0f 100644 --- a/oauthlib/oauth2/draft25/errors.py +++ b/oauthlib/oauth2/draft25/errors.py @@ -9,6 +9,7 @@ from oauthlib.common import urlencode, add_params_to_uri class OAuth2Error(Exception): + error = None def __init__(self, description=None, uri=None, state=None, status_code=400): """ @@ -32,7 +33,6 @@ class OAuth2Error(Exception): self.uri = uri self.state = state self.status_code = status_code - self.error = None def in_uri(self, uri): return add_params_to_uri(uri, self.twotuples) |