parent
9e922582c0
commit
1cce8426c6
|
@ -166,7 +166,7 @@ def getEnvVar( var ):
|
||||||
if Environment.has_key( var ):
|
if Environment.has_key( var ):
|
||||||
return Environment[ var ]
|
return Environment[ var ]
|
||||||
else:
|
else:
|
||||||
print "Error: cannot find " + var
|
print ( "Error: cannot find " + var )
|
||||||
return ""
|
return ""
|
||||||
|
|
||||||
# -------------------------------------------------------------------------------
|
# -------------------------------------------------------------------------------
|
||||||
|
@ -217,12 +217,12 @@ def process_dir(d, outfile_results, zipin, result ):
|
||||||
outfile_results.write("assimp dump "+"-"*80+"\n")
|
outfile_results.write("assimp dump "+"-"*80+"\n")
|
||||||
outfile_results.flush()
|
outfile_results.flush()
|
||||||
assimp_bin_path = getEnvVar("assimp_path")
|
assimp_bin_path = getEnvVar("assimp_path")
|
||||||
print "assimp_bin_path = ", assimp_bin_path
|
print( assimp_bin_path = " + assimp_bin_pat )
|
||||||
command = [assimp_bin_path,
|
command = [assimp_bin_path,
|
||||||
"dump",
|
"dump",
|
||||||
fullpath, outfile_actual, "-b", "-s", "-l" ] +\
|
fullpath, outfile_actual, "-b", "-s", "-l" ] +\
|
||||||
pppreset.split()
|
pppreset.split()
|
||||||
print "command = ", command
|
print(command = " + command )
|
||||||
r = subprocess.call(command, **shellparams)
|
r = subprocess.call(command, **shellparams)
|
||||||
outfile_results.flush()
|
outfile_results.flush()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue