zerver/lib: Remove u prefix from strings.

This commit is contained in:
rht
2017-11-04 05:34:38 +01:00
committed by Tim Abbott
parent 32f1523de2
commit 9161f8c39b
10 changed files with 70 additions and 70 deletions

View File

@@ -74,7 +74,7 @@ class ModelReprMixin:
def __unicode__(self) -> Text:
# Originally raised an exception, but Django (e.g. the ./manage.py shell)
# was catching the exception and not displaying any sort of error
return u"Implement __unicode__ in your subclass of ModelReprMixin!"
return "Implement __unicode__ in your subclass of ModelReprMixin!"
def __str__(self) -> str:
return force_str(self.__unicode__())