yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #64534
[Bug 1695918] [NEW] 'jsonschema' imported but unused
Public bug reported:
>From latest build tests:
tests/unittests/test_handler/test_handler_ntp.py:20: 'jsonschema' imported but unused
tests/unittests/test_handler/test_schema.py:16: 'jsonschema' imported but unused
Steps to reproduce:
# git clone master
# cd cloud-init
# tox -e tip-pyflakes
The offending code in both files is:
try:
import jsonschema # NOQA
_missing_jsonschema_dep = False
except ImportError:
_missing_jsonschema_dep = True
** Affects: cloud-init
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1695918
Title:
'jsonschema' imported but unused
Status in cloud-init:
New
Bug description:
From latest build tests:
tests/unittests/test_handler/test_handler_ntp.py:20: 'jsonschema' imported but unused
tests/unittests/test_handler/test_schema.py:16: 'jsonschema' imported but unused
Steps to reproduce:
# git clone master
# cd cloud-init
# tox -e tip-pyflakes
The offending code in both files is:
try:
import jsonschema # NOQA
_missing_jsonschema_dep = False
except ImportError:
_missing_jsonschema_dep = True
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1695918/+subscriptions
Follow ups