Fix failure under Python 2.6.