updated str.format() for python 2.6 compatibily
Merge pull request #6 from dn0/master

updated str.format() for python 2.6 compatibily