2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2025-01-26 10:11:05 +01:00

Replace FileNotFoundError by EnvironmentError for python2

This commit is contained in:
Thomas Nagy 2016-07-29 20:40:38 +02:00
parent 1308001a9e
commit 11ff58981a
No known key found for this signature in database
GPG Key ID: 49B4C67C05277AAA

View File

@ -594,7 +594,7 @@ def autoconfigure(execute_method):
for f in env.files:
try:
h = Utils.h_list((h, Utils.readf(f, 'rb')))
except FileNotFoundError:
except EnvironmentError:
do_config = True
break
else: