def processPendingModules(): r"""Processes the modules left unprocessed by the import hook. """ for name in ModulesQ[:]: processModule(name) ModulesQ.pop()
def resetActiveModuleToNext(): # Remove the module name from ModulesQ as it has been processed ModulesQ.pop() if ModulesQ: # Set the next module's Q the ActiveModuleMemberQ, so that the configured elements could be gathered for the right target state.ActiveModuleMemberQ = ModuleMembers[ModulesQ[-1]]