summaryrefslogtreecommitdiffstats
path: root/platform-logic/installer/src
diff options
context:
space:
mode:
authorMiroslav Los <miroslav.los@pantheon.tech>2019-11-13 11:15:40 +0100
committerTimoney, Dan (dt5972) <dtimoney@att.com>2019-12-13 09:33:42 -0500
commitfc4bb348c8a8b4a5d5f77065b8ebbca16d6ce5b8 (patch)
treec4b37c969be7a4d644cd5d30c52fa1b085eea5d6 /platform-logic/installer/src
parent4ec03269604e3bd897207552127f94b4d1f30850 (diff)
Update distribution scripts to python3
Also use python3 packages in Dockerfiles. Make python2 also available for OpenDaylight until they migrate Signed-off-by: Miroslav Los <miroslav.los@pantheon.tech> Issue-ID: CCSDK-1923 Change-Id: I3d4453ccbfe191c545ba574695387dd33c129e25
Diffstat (limited to 'platform-logic/installer/src')
-rw-r--r--platform-logic/installer/src/main/scripts/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform-logic/installer/src/main/scripts/install.sh b/platform-logic/installer/src/main/scripts/install.sh
index 167c0718..18f145a1 100644
--- a/platform-logic/installer/src/main/scripts/install.sh
+++ b/platform-logic/installer/src/main/scripts/install.sh
@@ -30,7 +30,7 @@ $BASEDIR/bin/svclogic.sh install $BASEDIR $BASEDIR/config/svclogic.properties
end=$(date +%s.%N)
echo "Load and activate finished at $(date)"
-runtime=$(python -c "print(${end} - ${start})")
+runtime=$(python3 -c "print(${end} - ${start})")
echo "Load and activate took $runtime seconds"