Replace {} with {n} in str.format to be compatibale with python2.6
to previous commit