changeset 3070:1370323e8f6c

quick frontend (chat): removed hack not needed anymore now that Pyjamas is not used anymore
author Goffi <goffi@goffi.org>
date Fri, 08 Nov 2019 11:56:21 +0100
parents 73db9db8b9e1
children 68d423f4fb55
files sat_frontends/quick_frontend/quick_chat.py
diffstat 1 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/sat_frontends/quick_frontend/quick_chat.py	Fri Nov 08 11:55:21 2019 +0100
+++ b/sat_frontends/quick_frontend/quick_chat.py	Fri Nov 08 11:56:21 2019 +0100
@@ -41,15 +41,6 @@
 
 # from datetime import datetime
 
-try:
-    # FIXME: to be removed when an acceptable solution is here
-    str("")  # XXX: unicode doesn't exist in pyjamas
-except (
-    TypeError,
-    AttributeError,
-):  # Error raised is not the same depending on pyjsbuild options
-    str = str
-
 # FIXME: day_format need to be settable (i18n)