def module_loader(home, config):
    for fn in os.listdir(os.path.join(home, 'modules')):
        name = os.path.basename(fn)[:-3]
        if config.EXCLUDED_MODULES in name: continue
        if fn.endswith('.py') and not fn.startswith('_'):
            fn = os.path.join(os.path.dirname(os.path.realpath(__file__)), fn)
            try: modules.append(imp.load_source(name, fn))
            except Exception, e:
                traceback.print_exc()
                print >> sys.stderr, "Error loading %s: %s" % (name, e)
                sys.exit(1)
dataset/ETHPy150Open ssut/choco/modules/__init__.py/module_loader/swapped operands of `in`