Code Review
/
ccsdk
/
sli.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
fa99125
)
Convert scripts to python3
89/134889/1
author
Dan Timoney
<dtimoney@att.com>
Wed, 14 Jun 2023 21:10:59 +0000
(17:10 -0400)
committer
Dan Timoney
<dtimoney@att.com>
Wed, 14 Jun 2023 21:10:59 +0000
(17:10 -0400)
Convert python2 scripts to python3
Issue-ID: CCSDK-3906
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: Ic7687d020398c416f7b4be55aa7782ac1d4439d4
plugins/grToolkit/model/scripts/python/yang2props.py
patch
|
blob
|
history
diff --git
a/plugins/grToolkit/model/scripts/python/yang2props.py
b/plugins/grToolkit/model/scripts/python/yang2props.py
index
85daccf
..
6a0b336
100755
(executable)
--- a/
plugins/grToolkit/model/scripts/python/yang2props.py
+++ b/
plugins/grToolkit/model/scripts/python/yang2props.py
@@
-39,7
+39,7
@@
val = ""
li = []
if len(sys.argv) < 3:
- print
'yang2props.py <input yang> <output properties>'
+ print
('yang2props.py <input yang> <output properties>')
sys.exit(2)
with open(sys.argv[1], "r") as ins: