diff options
author | Kevin Benton <blak111@gmail.com> | 2015-08-11 06:01:25 -0700 |
---|---|---|
committer | Kevin Benton <blak111@gmail.com> | 2015-08-11 06:05:37 -0700 |
commit | eef7983d4ec829ba910a6c1000e8dac95efe50d3 (patch) | |
tree | 648844c1eb8d67c779b8e62cac0529562c0a611b /bin | |
parent | ce32fcc9599729c3ae2e9532636291d53c091150 (diff) | |
download | neutron-eef7983d4ec829ba910a6c1000e8dac95efe50d3.tar.gz |
Replace 'import json' with oslo_serialization
Replace remaining occurences of 'import json' with
'from oslo_serialization import jsonutils as json'
so pylint doesn't complain every time someone happens
to make a change to one of the modules that still
uses it.
Change-Id: Ife9f0fc54ad36887bdb939028f8903be16e590d6
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/neutron-rootwrap-xen-dom0 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/neutron-rootwrap-xen-dom0 b/bin/neutron-rootwrap-xen-dom0 index 8e92d33fed..b4e2e31b5c 100755 --- a/bin/neutron-rootwrap-xen-dom0 +++ b/bin/neutron-rootwrap-xen-dom0 @@ -24,7 +24,8 @@ responsible determining whether a command is safe to execute. from __future__ import print_function from six.moves import configparser as ConfigParser -import json +from oslo_serialization import jsonutils as json + import os import select import sys |