Hi Doug. That's not a python problem. 'gridSettingsFL' is my naming convention for 'frameLayout' which is a Maya function that isn't playing well with Maya versions pre-2011. There are two or three other things in jbUnity Tools and jbUDK Tools that will cause issues with pre-2011 Maya as well.
I realize this is an inconvenience for some people, especially at the Indy level. There are solutions but I haven't had time to implement them.