Merge pull request #8111 from hfinucane/gh-8108

Fix pip failure when version is parsed as a float
This commit is contained in:
Michael DeHaan 2014-07-15 18:07:03 -04:00
commit ee179e1149

View file

@ -206,7 +206,7 @@ def main():
argument_spec=dict(
state=dict(default='present', choices=state_map.keys()),
name=dict(default=None, required=False),
version=dict(default=None, required=False),
version=dict(default=None, required=False, type='str'),
requirements=dict(default=None, required=False),
virtualenv=dict(default=None, required=False),
virtualenv_site_packages=dict(default='no', type='bool'),