aboutsummaryrefslogtreecommitdiffstats
path: root/admportal/shell/getAdmPortalProp.py
blob: 2e0ea797c1b30300f96646f949ada518c2421d33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/python

import json
import sys
import os

propfile = os.getenv('SDNC_CONFIG_DIR') + '/admportal.json'

from pprint import pprint

with open(propfile) as data_file:    
    data = json.load(data_file)
pprint( str(data[sys.argv[1]]))