Use try-else-finally in Python >= 2.5

This commit is contained in:
Thomas Nagy 2016-05-18 22:01:37 +02:00
parent 3f38b9d2b8
commit 74e54322c5
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64
2 changed files with 22 additions and 24 deletions

View File

@ -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:

View File

@ -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: