quick frontend (app): removed workaround for pyjamas
This commit is contained in:
parent
f1372b6b94
commit
6a18650a99
1 changed files with 4 additions and 14 deletions
|
|
@ -18,9 +18,6 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from sat.core.log import getLogger
|
||||
|
||||
log = getLogger(__name__)
|
||||
|
||||
from sat.core.i18n import _
|
||||
from sat.core import exceptions
|
||||
from sat.tools import trigger
|
||||
|
|
@ -38,14 +35,8 @@ import sys
|
|||
from collections import OrderedDict
|
||||
import time
|
||||
|
||||
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
|
||||
|
||||
log = getLogger(__name__)
|
||||
|
||||
|
||||
class ProfileManager(object):
|
||||
|
|
|
|||
Loading…
Reference in a new issue