def adapt_rusage(rusage):
    rv = dict()
    for attr in attributes_iterator(rusage.contents):
        
        k, v = attr.split('=',1)
        rv[k] = v
    return rv
Check if HTTP status code is redirection.
dataset/ETHPy150Open pygridtools/drmaa-python/drmaa/helpers.py/adapt_rusage--crossover with--dataset/ETHPy150Open openstack/swift/swift/common/http.py/is_redirection