Fix deprecation warning in Python 2.6