Yes, this is a replacement. Trivial differences - just replaced MySQLdb references to gluon.contrib.pymysql, removed the comment up top about depending on MySQLdb, and added ".." to the python path so that it can find gluon.contrib even if the web2py directory isn't in your system pythonpath.
Cheers, Kevin

