saltstack/salt — pull request #395 by mb0 (2011-12-26 06:54:35+00:00)
Title: change type checks to isinstance

isinstance is just as fast and allows inheritance
and much faster than checking against a new instance

extend str type checks to match unicode as well.
this would cause bugs with non ascii characters in group names for example

fix unreachable code in solr _get_none_or_value
i could reconstruct the intended logic from the comment