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

pull/4420/head
Mads Weitling 2013-10-10 17:15:04 +02:00
parent c2572b0379
commit 740a33bcab
1 changed files with 8 additions and 8 deletions

View File

@ -234,7 +234,7 @@ def main():
revision = module.params['revision']
force = module.params['force']
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')
# initial states