hgweb: replace a trivial file read with the `util` function
Not sure why there's an `os.stat()` here- I'd expect any errors that it might hit to also be hit by attempting to open the file in read mode. It goes all the way back to a9343f9d7365 in 2006, and mentions making things more secure, so I'll leave it be for now.
parent
f106d0e6
No related branches found
No related tags found
Please register or sign in to comment