avoid a dict comprehension for py2.6 compatibility
str.format() py2.6 compatibility

and some possible bugfixes (two times list provided to .format and one
additional bracket)
Merge pull request #18 from megies/py26

Python 2.6 dict compatibility