Added indices to format calls
Merge pull request #2 from kornholi/2.6-support

Python 2.6 support