fix for python2.4 in rhel 5
Merge pull request #2 from gtmanfred/master

fix for python2.4 in rhel 5