Moved except up
Use str.strip

- string.strip not available in py33
Standardized indentation
Moved except up
Standardized error messages
tox uses coverage