Skip to content

Commit

Permalink
python 3 script compatibility: file() was removed in Python 3 in favo…
Browse files Browse the repository at this point in the history
…r of open() (#898)
  • Loading branch information
cclauss authored Apr 26, 2024
1 parent ba486a3 commit 5a1920d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/utils/checkfiledocs.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def printError( f, message ):
if not doxygenHtmlDocFileName( os.path.basename(f) ) in docFiles:
printError( f, "no doxygen generated doc page" )

s = file( f, 'rt' ).read()
s = open( f, 'rt' ).read()

if not '/**' in s:
printError( f, "no doxygen /** block" )
Expand Down

0 comments on commit 5a1920d

Please sign in to comment.