Commit bf59efcf authored by Mark Andrews's avatar Mark Andrews
Browse files

3885. [port] Use 'open()' rather than 'file()' to open files in

                        python.
parent 4ef06963
3885. [port] Use 'open()' rather than 'file()' to open files in
python.
3884. [protocol] Add CDS and CDNSKEY record types. [RT #36333]
3883. [placeholder]
......
......@@ -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()
......
Markdown is supported
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