str.format() py2.6 compatibility

and some possible bugfixes (two times list provided to .format and one
additional bracket)