Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Christian Persch
poppler
Commits
1c3cc387
Commit
1c3cc387
authored
Oct 21, 2018
by
Elliott Sales de Andrade
Committed by
Albert Astals Cid
Nov 18, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regtest: Replace execfile with plain read & exec.
parent
60cf2c0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
regtest/Utils.py
regtest/Utils.py
+2
-1
No files found.
regtest/Utils.py
View file @
1c3cc387
...
...
@@ -67,6 +67,7 @@ def get_passwords(docsdir):
return
{}
passwords
=
{}
execfile
(
passwords_file
,
passwords
)
with
open
(
passwords_file
)
as
f
:
exec
(
f
.
read
(),
passwords
)
return
passwords
[
'passwords'
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment