tower icon indicating copy to clipboard operation
tower copied to clipboard

Use six.text_type instead of unicode

Open jaredlockhart opened this issue 11 years ago • 1 comments

Should the following two lines:

https://github.com/clouserw/tower/blob/master/tower/init.py#L55-L56

use six.text_type instead of unicode like here:

https://github.com/django/django/blob/master/django/utils/translation/init.py#L99

?

jaredlockhart avatar Sep 24 '14 20:09 jaredlockhart

Probably! I swapped it out and ran the tests and it still worked fine. I don't know a lot about six so I'm not sure when it would be a good idea to do it. Any advice?

clouserw avatar Sep 29 '14 21:09 clouserw