Skip to content

Commit

Permalink
Merge pull request #38 from SamPeng87/master
Browse files Browse the repository at this point in the history
walk param may be None in macos
  • Loading branch information
dominis committed Jun 5, 2015
2 parents 8b4f155 + 45db93c commit 6b8a0fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ansible-shell
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ class AnsibleShell(cmd.Cmd):
modules = set()
module_paths = ansible.utils.plugins.module_finder._get_paths()
for path in module_paths:
modules.update(self._find_modules_in_path(path))
if path is not None:
modules.update(self._find_modules_in_path(path))

return modules

Expand Down

0 comments on commit 6b8a0fa

Please sign in to comment.