def modules(modulePath):
    try:
        mod = sys.modules[modulePath]
        if mod is None:
            raise KeyError()
    except KeyError:
        # The last [''] is important.
        mod = __import__(modulePath, globals(), locals(), [''])
    return mod
Makes sure an URL is monitored by uptime. Checks if URL is already
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/cherrypy/cherrypy/lib/reprconf.py/modules--crossover with--dataset/ETHPy150Open saltstack/salt/salt/states/uptime.py/monitored