saltstack/salt — pull request #1147 by cmek (2012-04-27 08:58:56+00:00)
Title: add missing path module

Fixes the following error in modules/pw_user.py:

The minion function caused an exception: Traceback (most recent call last):
[..]
File "/usr/local/lib/python2.7/site-packages/salt/modules/pw_user.py", line 46, in add
cmd += '-m -b {0} '.format(os.dirname(home))
AttributeError: 'module' object has no attribute 'dirname'