fix for python2.4 in rhel 5

dumb rhel 5