Skip to content

Commit

Permalink
Fix exception messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
onyxfish committed Sep 2, 2015
1 parent a5effb7 commit 602e83e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
0.7.0
-----


* Fix error messages for RowDoesNotExistError and ColumnDoesNotExistError.

0.6.0
-----
Expand Down
4 changes: 2 additions & 2 deletions agate/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def __unicode__(self):
return 'Column `%s` does not exist.' % (self.k)

def __str__(self):
return str(self.__unicode())
return str(self.__unicode__())

class RowDoesNotExistError(Exception): # pragma: no cover
"""
Expand All @@ -82,4 +82,4 @@ def __unicode__(self):
return 'Row `%i` does not exist.' % (self.i)

def __str__(self):
return str(self.__unicode())
return str(self.__unicode__())

0 comments on commit 602e83e

Please sign in to comment.