def _GetValue(skey, tlist):
    """Get data for subfield code skey, given the subfields list."""
    for (subkey, subval) in tlist:
        if skey == subkey:
            return subval
    return None