summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/packaging/language
diff options
context:
space:
mode:
authorMatt Martz <matt@sivel.net>2018-08-10 11:13:29 -0500
committerGitHub <noreply@github.com>2018-08-10 11:13:29 -0500
commitc1c229c6d4cf74d022c56a17061ab57918822f88 (patch)
tree38f51a32506e108d65c259a4899c6edd37d2144c /lib/ansible/modules/packaging/language
parent96346938eef9594f4d1ceeff1d48f13807e36e21 (diff)
downloadansible-c1c229c6d4cf74d022c56a17061ab57918822f88.tar.gz
Remove use of simplejson throughout code base (#43548)
* Remove use of simplejson throughout code base. Fixes #42761 * Address failing tests * Remove simplejson from contrib and other outlying files * Add changelog fragment for simplejson removal
Diffstat (limited to 'lib/ansible/modules/packaging/language')
-rw-r--r--lib/ansible/modules/packaging/language/npm.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/ansible/modules/packaging/language/npm.py b/lib/ansible/modules/packaging/language/npm.py
index 2f871b2f97..e87e1ee3db 100644
--- a/lib/ansible/modules/packaging/language/npm.py
+++ b/lib/ansible/modules/packaging/language/npm.py
@@ -123,14 +123,7 @@ import re
from ansible.module_utils.basic import AnsibleModule
-try:
- import json
-except ImportError:
- try:
- import simplejson as json
- except ImportError:
- # Let snippet from module_utils/basic.py return a proper error in this case
- pass
+import json
class Npm(object):