small fix for Python 2.4

--HG--
branch : trunk
2 files changed