Restore Python 2.5 compatibility in "Ratings" change.