Change-Id: I6827fc17f79a99668205d74ae297fcfb41c1bb00
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
cd $BASE_DIR
# Mrityunjay Yadav: Validate descriptor
GEN_BASEDIR=$(dirname "$0")
- python $GEN_BASEDIR/validate_descriptor.py $BASE_DIR/$PKG/$descriptor
+ python3 $GEN_BASEDIR/validate_descriptor.py $BASE_DIR/$PKG/$descriptor
if [ $? -ne 0 ]; then
rc=$?
echo "ERROR: validating descriptor for $PKG ($rc)" >&2
-#!/usr/bin/env python2
+#!/usr/bin/env python3
# -*- coding: utf-8 -*-
##
for o, a in opts:
if o in ("-v", "--version"):
- print ("test descriptor version THREE " + __version__ + ' ' + version_date)
+ print("test descriptor version THREE " + __version__ + ' ' + version_date)
sys.exit()
elif o in ("-h", "--help"):
usage()