Skip to content

Commit

Permalink
Merge pull request #58 from skoranda/context_repr
Browse files Browse the repository at this point in the history
Added __repr__ method to class Context to aid debugging
  • Loading branch information
Gijutsu committed Jan 10, 2017
2 parents f75a6e7 + cfddf96 commit 8527543
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/satosa/context.py
Expand Up @@ -27,6 +27,10 @@ def __init__(self):
self.cookie = None
self.state = None

def __repr__(self):
from pprint import pformat
return pformat(vars(self))

@property
def path(self):
"""
Expand Down

0 comments on commit 8527543

Please sign in to comment.