isinstance(thing, six.string_types) looks nicer than isinstance(thing, six.string_types[0]).

Signed-off-by: David Black <dblack@atlassian.com>