Skip to content

Commit

Permalink
better Record repr
Browse files Browse the repository at this point in the history
  • Loading branch information
mahmoud committed Jan 22, 2016
1 parent e2f5f5d commit 8af35db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lithoxyl/record.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ def __init__(self, name, level=None, **kwargs):
def __repr__(self):
cn = self.__class__.__name__
# TODO on the upper() stuff. better repr for level?
return '<%s %s %r>' % (cn, self.level.name.upper(), self.status)
return ('<%s %r %s %r>'
% (cn, self.name, self.level.name.upper(), self.status))

@property
def level_name(self):
Expand Down

0 comments on commit 8af35db

Please sign in to comment.