add missing import for any (which is not available in Python 2.4)