more python 2.6 fixes

@cdent is a bad monkey for using travis has his source of virtualenvs
with different python versions.