json ImportError
Bug #943219 reported by
Andreas Hasenack
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Won't Fix
|
High
|
Chad Smith |
Bug Description
landscape-client r465 introduced an "import json", which means we need to add a new dependency to the hardy package. In lucid and higher, json is part of python.
In hardy, we have python-json that seems to satisfy this.
Related branches
Changed in landscape-client: | |
assignee: | nobody → Chad Smith (chad.smith) |
status: | New → In Progress |
Changed in landscape-client: | |
status: | In Progress → Won't Fix |
To post a comment you must log in.
There is more to it, this json module is different, some tests fail:
[ERROR]: landscape. tests.test_ configuration. SSLCertificateD ataTest. test_fetch_ base64_ ssl_no_ custom_ ca
Traceback (most recent call last): andreas/ bzr/landscape- client/ landscape/ tests/mocker. py", line 146, in test_method_wrapper andreas/ bzr/landscape- client/ landscape/ tests/test_ configuration. py", line 1983, in test_fetch_ base64_ ssl_no_ custom_ ca info=print_ text) andreas/ bzr/landscape- client/ landscape/ configuration. py", line 515, in fetch_base64_ ssl_public_ certificate AttributeError: 'module' object has no attribute 'loads'
File "/home/
result = test_method()
File "/home/
on_
File "/home/
ca_dict = json.loads(content)
exceptions.