fixed a bug for python 2.6, removed python 3 from travis config as 3rd party app not working