Decimal imported but not used in ubuntu-sso-login
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Single Sign On Client |
Triaged
|
Low
|
Unassigned |
Bug Description
After the merge of https:/
# import decimal even if we don't need it, pylint: disable=W0611
import decimal
# This is a workaround for LP: #467397. Some module in our depency chain sets
# the locale and imports decimal, and that generates the following trace:
# Traceback (most recent call last):
# File "/usr/lib/
# from ubuntu_sso.main import SSOLogin
# File "/usr/lib/
# from lazr.restfulcli
# File "/usr/lib/
# line 34
# import simplejson
# File "/usr/lib/
# from decimal import Decimal
# File "/usr/lib/
# val = globals(
# KeyError: 'ROUND_CEiLiNG'
decimal does not longer need to be imported.
Changed in ubuntu-sso-client: | |
assignee: | Canonical Desktop Team (canonical-desktop-team) → nobody |