Skip to content

Commit

Permalink
file() was removed in Python 3 in favor of open()
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Apr 19, 2024
1 parent 7171f07 commit c80d62c
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 c80d62c

Please sign in to comment.