Nailgun "json" should be replaced with "jsonutils"

Bug #1292561 reported by Nikolay Markov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Low
Alexander Kislitsky

Bug Description

We explicitly use built-in JSON library anywhere in Nailgun code, despite of the fact that Oslo provides module called "jsonutils" which we already have in our project. It already uses "anyjson" module, which automatically selects best available JSON parser, and it is widely used in OpenStack. Let's just import and use it in our code, it has the same interface.

Dmitry Pyzhov (dpyzhov)
tags: added: low-hanging-fruit
Changed in fuel:
status: New → Confirmed
importance: Undecided → Low
Ivan Kolodyazhny (e0ne)
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Ivan Kolodyazhny (e0ne)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

Fix proposed to branch: master
Review: https://review.openstack.org/85677

Changed in fuel:
status: Confirmed → In Progress
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 5.0 → 5.1
Changed in fuel:
assignee: Ivan Kolodyazhny (e0ne) → Alexander Kislitsky (akislitsky)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/85677
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=59b88df3a3d122c3ab92f609697f0fddef0677c2
Submitter: Jenkins
Branch: master

commit 59b88df3a3d122c3ab92f609697f0fddef0677c2
Author: Ivan Kolodyazhny <email address hidden>
Date: Mon Apr 7 12:42:47 2014 +0300

    Use jsonutils instead of json module

    Change-Id: Ib54796c4ae3747d9a5c0576467ba4bb794a9b483
    Closes: bug #1292561

Changed in fuel:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.