Remove useless code

We do not support Python 2.6.