mozilla-services/circus — pull request #397 by fsouza (2013-05-17 22:36:40+00:00)
Title: util: fix bug in to_uid function

It must check for string_types, not str only. I've included to assertions in the test, making sure that it accepts both unicode and str.