Skip to content

Commit

Permalink
Fixes repr(DictizationError) returning "".
Browse files Browse the repository at this point in the history
  • Loading branch information
David Read committed Jun 10, 2016
1 parent aeb3863 commit 427dfbc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ckan/lib/navl/dictization_functions.py
Expand Up @@ -37,6 +37,9 @@ def __str__(self):
return repr(self.error)
return ''

def __unicode__(self):
return unicode(str(self))

class Invalid(DictizationError):
'''Exception raised by some validator, converter and dictization functions
when the given value is invalid.
Expand Down

0 comments on commit 427dfbc

Please sign in to comment.