Skip to content

Commit a7e50f5

Browse files
authored
Merge pull request #1316 from yannci/py3OptionsAdjustment
ie options: Fix Python 3 `exec` issue with list comprehensions
2 parents c6c8336 + 90f9339 commit a7e50f5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

config/ie/options

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,9 @@ LIBPATH = ":".join( [
207207
os.path.join( "/software", "apps", compiler, compilerVersion, platform, "lib64" ),
208208
] )
209209
if targetApp :
210-
libPaths = [ os.path.join( targetAppReg["location"], x ) for x in targetAppReg.get( "libPaths", [] ) ]
210+
libPaths = []
211+
for libPath in targetAppReg.get( "libPaths", [] ):
212+
libPaths.append( os.path.join( targetAppReg["location"], libPath ) )
211213
libPaths.append( LIBPATH )
212214
LIBPATH = ":".join( libPaths )
213215

0 commit comments

Comments
 (0)