fix python2.4 portability: any is not defined