Since getTypeName() returns None for None and default both must be handled the same way in other switches. After applying following bug will be fixed: http://www.freecadweb.org/tracker/view.php?id=2212
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d