Fix log message to be Python 2.6 compatible