saltstack/salt — pull request #4068 by s0undt3ch (2013-03-12 21:04:30+00:00)
Title: Don't try to `listdir` on a non existing `jid_root`.

Additionally, removed unnecessary brackets on logging messages and some PEP-8 formatting.

I encountered this issue while running the testsuite, which apparently cleaned up everything too soon, anyway, let's not make salt fail because of that.