saltstack/salt — pull request #2484 by s0undt3ch (2012-11-08 12:53:01+00:00)
Title: Improve `salt.utils.contains_regex()`. Fixes #2401.

* When `re.search`'ing, do a `re.MULTILINE` search. Not all matches happen on first line, specially using the `BufferedReader`.
* PEP-8 fixes.
* Removed `rowname` from `salt.utils.mysql_to_dict()` since it was not being used.