def get_url(url):
    try:
        response = urllib2.urlopen(url)
    except urllib2.URLError:
        raise urllib2.URLError('Cannot access URL: ' + url)
    return response
Add a trigger to the indicate phase.
dataset/ETHPy150Open nasa-gibs/onearth/src/test/oe_test_utils.py/get_url--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/internet/base.py/_ThreePhaseEvent.addTrigger