From c5f812d7843045848aaa01a0c902acd4867b50a9 Mon Sep 17 00:00:00 2001 From: Julian Dolby Date: Sun, 15 Jul 2018 12:41:18 +0200 Subject: [PATCH] fix script for python 3 --- build-maven-jars.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build-maven-jars.py b/build-maven-jars.py index 1e3752f6c..9d9c7dfd7 100755 --- a/build-maven-jars.py +++ b/build-maven-jars.py @@ -29,14 +29,14 @@ projects = [ for proj in projects: full_proj = "com.ibm.wala." + proj - print full_proj + print(full_proj) os.chdir(full_proj) mvnCmd = "mvn -f mvncentral.xml clean " + action try: subprocess.check_output(mvnCmd, shell=True) except subprocess.CalledProcessError as e: - print "OUTPUT" - print e.output + print("OUTPUT") + print(e.output) raise os.chdir("..")