saltstack/salt — pull request #1007 by fatbox (2012-03-27 16:54:26+00:00)
Title: Ensure the correct args are passed to jid_dir

In 1e8e75d one of the calls to jid_dir didn't get all the necessary arguments.

This leads to the following error:

```
12:36:32,338 [salt.master ][INFO ] AES payload received with command minion_publish
Process MWorker-6:
Traceback (most recent call last):
File "/usr/lib/python2.6/multiprocessing/process.py", line 232, in _bootstrap
self.run()
File "/usr/lib/python2.6/dist-packages/salt/master.py", line 368, in run
self.__bind()
File "/usr/lib/python2.6/dist-packages/salt/master.py", line 317, in __bind
ret = self.serial.dumps(self._handle_payload(payload))
File "/usr/lib/python2.6/dist-packages/salt/master.py", line 335, in _handle_payload
'clear': self._handle_clear}[key](load)
File "/usr/lib/python2.6/dist-packages/salt/master.py", line 362, in _handle_aes
return self.aes_funcs.run_func(data['cmd'], data)
File "/usr/lib/python2.6/dist-packages/salt/master.py", line 770, in run_func
ret = getattr(self, func)(load)
File "/usr/lib/python2.6/dist-packages/salt/master.py", line 700, in minion_publish
salt.utils.jid_dir(jid),
TypeError: jid_dir() takes exactly 3 arguments (1 given)
```