Removed excess code in lib.swig.setDefaults
Merge pull request #487 from zmetcalf/setDefaults_cleanup

Removed excess code in lib.swig.setDefaults Issue #485