Fixing up Spacing issues and bare exception
Fixing syntax error, using salt._compat