Convert scripts to python3 89/134889/1
authorDan Timoney <dtimoney@att.com>
Wed, 14 Jun 2023 21:10:59 +0000 (17:10 -0400)
committerDan 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

index 85daccf..6a0b336 100755 (executable)
@@ -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: