Param name is dir, not directory.  Update docstring.  Backport candidate
1 file changed