[MAIN] remove python 2.4 special code