Skip to content

Commit 7dfe5be

Browse files
committed
Drop obsolete syntax
1 parent 513b061 commit 7dfe5be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

osgtest/tests/test_230_gratia.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def patternreplace(self, infile_name, pattern, full_line):
1919

2020
infile = open(infile_name, "r")
2121
outfile_name = infile_name + ".tmp"
22-
outfile = file(outfile_name, 'w')
22+
outfile = open(outfile_name, 'w')
2323

2424
#If the pattern is found in a non-comment line, replace the line with the passed in "full_line"
2525
for line in infile:

0 commit comments

Comments
 (0)