fix python 2.6 syntax error
update travis_selector to support python 3.4