Change str.format() to support python 2.6.
Merge pull request #120 from nfvs/format-python26-support

Change str.format() to support python 2.6