Merge pull request #3622 from bcoca/fix_the_stat_fix

use global to fail as its not in self
pull/3621/merge
Michael DeHaan 12 years ago
commit 9c9bc09ce6

@ -636,7 +636,7 @@ class LinuxHardware(Hardware):
if e.errno == errno.ENOENT: if e.errno == errno.ENOENT:
pass pass
else: else:
self.fail_json(msg=e.strerror) module.fail_json(msg=e.strerror)
self.facts['mounts'].append( self.facts['mounts'].append(
{'mount': fields[1], {'mount': fields[1],

Loading…
Cancel
Save