def convert_time(inpt):
    time_format = '%Y-%m-%dT%H:%M:%S%z'
    inpt = time.strptime(convert_string(inpt), time_format)
    return inpt
Wrap calls to urllib2 so they can be overriden.
dataset/ETHPy150Open geopython/pywps/pywps/inout/literaltypes.py/convert_time--crossover with--dataset/ETHPy150Open JetBrains/youtrack-rest-python-library/python/pyactiveresource/connection.py/Connection._urlopen