saltstack/salt — pull request #359 by SEJeff (2011-12-15 06:31:39+00:00)
Title: RFC: Module cleanups

This branch has a bunch of cleanups for personal coding style nits, some pep8, fixing bugs, and adding features. I've not had time to go over each and every module just yet or finish everything. However, this would be a pain to rebase if it starts getting merge conflicts so upstream ahoy!

**PLEASE SCRUTINIZE THIS PATCH SERIES** - it touches a lot of code
## A few more cleanups that will come at a later time
* more friendly error messages
* consistency where necessary
* merge the cleverness from apache.signal and solr.signal
* a custom traceback when a command isn't found inside a module to pretty-print an error
* create cmd._run to abstract the several nearly identical subprocess calls and have them all use one function