fix ImportError with six 1.2.0