diff options
author | Dan Timoney <dtimoney@att.com> | 2023-04-26 15:17:35 -0400 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2023-04-26 15:17:35 -0400 |
commit | 54d53145630c48c82f3cbde13e7d419ee9966e2a (patch) | |
tree | c3ec5c9086b67d57936be1adcf64e4ad39dffb6f /generic-resource-api/model | |
parent | ac51d166eb076e4dc8811349ed3baa252b86269c (diff) |
Convert script from python to python3
Convert script to use python3 executable instead of python
Issue-ID: SDNC-1789
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: Ic22e120621cf2f42d2ff3a90599a726db4765911
Diffstat (limited to 'generic-resource-api/model')
-rw-r--r-- | generic-resource-api/model/yang/pom.xml | 2 | ||||
-rwxr-xr-x | generic-resource-api/model/yang/scripts/python/yang2props.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/generic-resource-api/model/yang/pom.xml b/generic-resource-api/model/yang/pom.xml index 3652924f..9136becd 100644 --- a/generic-resource-api/model/yang/pom.xml +++ b/generic-resource-api/model/yang/pom.xml @@ -32,7 +32,7 @@ <executions> <execution> <configuration> - <executable>python</executable> + <executable>python3</executable> <arguments> <argument>scripts/python/yang2props.py</argument> <argument>src/main/yang/GENERIC-RESOURCE-API.yang</argument> diff --git a/generic-resource-api/model/yang/scripts/python/yang2props.py b/generic-resource-api/model/yang/scripts/python/yang2props.py index 3cd56e40..bb959f13 100755 --- a/generic-resource-api/model/yang/scripts/python/yang2props.py +++ b/generic-resource-api/model/yang/scripts/python/yang2props.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 import re import sys |