python str.format function has different in 2.6 and 2.7
add some changes
Merge branch 'master' of https://github.com/dizengrong/dzr_code