Changed use of {} in format to {0} to be compatible with Python 2.6 and
older.