Fix `format` call index issue for Python 2.6