fix script for python 3

This commit is contained in:
Julian Dolby 2018-07-15 12:41:18 +02:00
parent dc47e1da98
commit c5f812d784
1 changed files with 3 additions and 3 deletions

View File

@ -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("..")