I think six.u is not the right way of ensuring unicode in python2. You need to use the old u'' standby