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:
parent
1308001a9e
commit
11ff58981a
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user