saltstack/salt — pull request #6937 by d--j (2013-08-28 16:03:43+00:00)
Title: `cmd.mod_watch` does not check for required func paramter for `call`

`cmd.call` and `cmd.wait_call` (used by the `pydsl` renderer) need two parameters – `name` and `func`. With this pull request, `mod_watch` now checks for the second required parameter `func` also and raises a bette error message when the user did not supply it.