Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
bf59efcf
Commit
bf59efcf
authored
Jun 23, 2014
by
Mark Andrews
Browse files
3885. [port] Use 'open()' rather than 'file()' to open files in
python.
parent
4ef06963
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
bf59efcf
3885. [port] Use 'open()' rather than 'file()' to open files in
python.
3884. [protocol] Add CDS and CDNSKEY record types. [RT #36333]
3883. [placeholder]
...
...
bin/python/dnssec-coverage.py.in
View file @
bf59efcf
...
...
@@ -104,7 +104,7 @@ class Key:
self.alg = int(alg)
self.keyid = int(keyid)
kfp =
file
(key_file, "r")
kfp =
open
(key_file, "r")
for line in kfp:
if line[0] == ';':
continue
...
...
@@ -132,7 +132,7 @@ class Key:
self.sep = False
kfp.close()
pfp =
file
(private_file, "rU")
pfp =
open
(private_file, "rU")
propDict = dict()
for propLine in pfp:
propDef = propLine.strip()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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