Fix python2.7 support.
Fix to work with current eve version.