ParseError not present in Python 2.6, workaround

see
https://bugs.launchpad.net/nova/+bug/893757
http://github.com/openstack/nova/commit/b6ae26ba279246d1b9e32b8665316a47847147ce
use other error type instead