python2.6 fixes to string formatting
Merge pull request #7 from bubenkoff/patch-1

python2.6 fixes to string formatting