waf: fixed python3 pickle error

This commit is contained in:
Andrew Tridgell 2018-03-05 09:48:05 +11:00
parent 4d5b5b7fdd
commit ba55f99419
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ def load_env_vars(env):
if not os.path.exists(env_py):
print("No env.py found")
return
e = pickle.load(open(env_py, 'r'))
e = pickle.load(open(env_py, 'rb'))
for k in e.keys():
v = e[k]
if k in env: