Skip to content

Commit c78c5d8

Browse files
committed
Fixes geerlingguy#281: Simpler json import for Python dynamic inventory example.
1 parent 3d5febc commit c78c5d8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

dynamic-inventory/custom/inventory.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,7 @@
77
import os
88
import sys
99
import argparse
10-
11-
try:
12-
import json
13-
except ImportError:
14-
import simplejson as json
10+
import json
1511

1612
class ExampleInventory(object):
1713

0 commit comments

Comments
 (0)