same py2.5 compat fix elsewhere