Commit 1c3cc387 authored by Elliott Sales de Andrade's avatar Elliott Sales de Andrade Committed by Albert Astals Cid
Browse files

regtest: Replace execfile with plain read & exec.

parent 60cf2c0f
......@@ -67,6 +67,7 @@ def get_passwords(docsdir):
return {}
passwords = {}
execfile(passwords_file, passwords)
with open(passwords_file) as f:
exec(, passwords)
return passwords['passwords']
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment