Fix 'hg module fails with: AttributeError: 'AnsibleModule' object has no attribute 'parames''

This commit is contained in:
Mads Weitling 2013-10-10 17:15:04 +02:00
commit 740a33bcab

View file

@ -234,7 +234,7 @@ def main():
revision = module.params['revision'] revision = module.params['revision']
force = module.params['force'] force = module.params['force']
purge = module.params['purge'] purge = module.params['purge']
hg_path = module.parames['executable'] or module.get_bin_path('hg', True) hg_path = module.params['executable'] or module.get_bin_path('hg', True)
hgrc = os.path.join(dest, '.hg/hgrc') hgrc = os.path.join(dest, '.hg/hgrc')
# initial states # initial states