Gitiles
Code Review
Sign In
gerrit.nordix.org
/
onap
/
sdnc
/
oam
/
c5ef5b5adcc222002fa99b90f14bce7a97afacff
/
.
/
admportal
/
shell
/
getAdmPortalProp.py
blob: 2e0ea797c1b30300f96646f949ada518c2421d33 [
file
] [
log
] [
blame
]
#!/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
]]))