This commit is contained in:
Thomas Jackson 2015-06-19 11:45:35 -07:00
parent be18439736
commit cfa7c0a699

View file

@ -609,7 +609,7 @@ class State(object):
mod_init function in the state module.
'''
# ensure that the module is loaded
self.states['{0}.{1}'.format(low['state'], low['fun'])]
self.states['{0}.{1}'.format(low['state'], low['fun'])] # pylint: disable=W0106
minit = '{0}.mod_init'.format(low['state'])
if low['state'] not in self.mod_init:
if minit in self.states._dict: