We used to need to make a couple of modifications that caused upstream cgit's version of this file not work.  Now it appears to work.  I am guessing it is because we were always on Python 2.7 and they had to revert back to 2.7.  The only thing that still does not work is the shebang at the beginning of the file.