def addToRunQueue(module_name):
    global _pmodule_run_queue
    global _pmodule_run_set

    if type(module_name) is not str:
        raise TypeError(str(type(m)) % "Type of module in run queue must be str (not '%s')")
            
    n = module_name.lower()

    if n not in _pmodule_run_set:
        
        _pmodule_run_queue.append(n)
        _pmodule_run_set.add(n)
dataset/ETHPy150Open hoytak/lazyrunner/lazyrunner/pmodule/lookup.py/addToRunQueue/swapped operands of `%`