remove python 2.5 logic
Merge pull request #900 from qwcode/drop_py25

remove python 2.5 logic