Fix Python exception handling
Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code