saltstack/salt — pull request #12394 by richierichrawr (2014-04-30 03:05:10+00:00)
Title: Excess code

else block is extra code to be processed. try block can test for authentication and return if successful all in one move.