Timoney, Daniel (dt5972) | 324ee36 | 2017-02-15 10:37:53 -0500 | [diff] [blame] | 1 | #!/usr/bin/python |
2 | |||||
3 | import json | ||||
4 | import sys | ||||
5 | import os | ||||
6 | |||||
7 | propfile = os.getenv('SDNC_CONFIG_DIR') + '/admportal.json' | ||||
8 | |||||
9 | from pprint import pprint | ||||
10 | |||||
11 | with open(propfile) as data_file: | ||||
12 | data = json.load(data_file) | ||||
13 | pprint( str(data[sys.argv[1]])) |