format function compatible with python 2.6 and 2.7

bbox : format function compatible with python 2.6 and python 2.7
Merge pull request #10 from dsandoval/patch-3

format function compatible with python 2.6 and 2.7