mirror of https://gitlab.com/ita1024/waf.git
Use try-else-finally in Python >= 2.5
This commit is contained in:
parent
3f38b9d2b8
commit
74e54322c5
|
@ -244,7 +244,6 @@ echo LIB=%%LIB%%;%%LIBPATH%%
|
|||
if 'CL' in env:
|
||||
del(env['CL'])
|
||||
|
||||
try:
|
||||
try:
|
||||
conf.cmd_and_log(fc + ['/help'], env=env)
|
||||
except UnicodeError:
|
||||
|
|
|
@ -191,7 +191,6 @@ echo LIB=%%LIB%%;%%LIBPATH%%
|
|||
if 'CL' in env:
|
||||
del(env['CL'])
|
||||
|
||||
try:
|
||||
try:
|
||||
conf.cmd_and_log(cxx + ['/help'], env=env)
|
||||
except UnicodeError:
|
||||
|
|
Loading…
Reference in New Issue