remove __unicode__
This is no longer needed in Python 3. Change-Id: Iea04bd4454d8da92b00eff93366c457c04c3bb27
This commit is contained in:
parent
eb707af065
commit
d7bee4fbbc
@ -95,9 +95,6 @@ class VenusException(Exception):
|
||||
def _should_format(self):
|
||||
return self.kwargs['message'] is None or '%(message)' in self.message
|
||||
|
||||
def __unicode__(self):
|
||||
return str(self.msg)
|
||||
|
||||
|
||||
class NotAuthorized(VenusException):
|
||||
message = _("Not authorized.")
|
||||
|
Loading…
Reference in New Issue
Block a user