Make the string formatting compatible with Python 2.6.