* _try_convert in ec2utils.py didn't handle strings starting with "0x"
* Added tests to cover bug
* Add better float support
* remove unused complex number support
Change-Id: I382d36f4a8671bcceccfa1ebdbae89a9d2aca207
(cherry picked from commit c95162e52899618fc269fb536f6a2d3b26b7794d)
Reviewed: https:/ /review. openstack. org/7244 github. com/openstack/ nova/commit/ 21e918a8f6e0fd1 44287ff7fc2ab3d 262ac9edd7
Committed: http://
Submitter: Jenkins
Branch: stable/essex
commit 21e918a8f6e0fd1 44287ff7fc2ab3d 262ac9edd7
Author: Joe Gordon <email address hidden>
Date: Fri Apr 13 15:12:04 2012 -0400
Fix bug 983206 : _try_convert parsing string
* _try_convert in ec2utils.py didn't handle strings starting with "0x"
* Added tests to cover bug
* Add better float support
* remove unused complex number support
Change-Id: I382d36f4a8671b cceccfa1ebdbae8 9a9d2aca207 fc269fb536f6a2d 3b26b7794d)
(cherry picked from commit c95162e52899618