Fix typo
Add 2.6 support back!

Import a python 2.6 safe exception for parsing the XML returned from
libs