chrome/installer/mac/universalizer.py
def _sole_list_element(l, exception_message):
    """Assures that every element in a list is identical.

    Args:
        l: The list to consider.
        exception_message: A message used to convey failure if every element in
            l is not identical.

    Returns:
        The value of each identical element in the list.
    """
    s = set(l)
    if len(s) != 1:
        raise Exception(exception_message)

    return l[0]
Assures that every element in a list is identical.

    Args:
        l: The list to consider.
        exception_message: A message used to convey failure if every element in
            l is not identical.

    Returns:
        The value of each identical element in the list.
    
Assures that every element in a list is identical.
Assures that every element in a list is identical .
def _sole_list_element(l, exception_message):
    s = set(l)
    if len(s) != 1:
        raise Exception(exception_message)
    return l[0]
def _sole_list_element ( l , exception_message ) : s = set ( l ) if len ( s ) != 1 : raise Exception ( exception_message ) return l [ 0 ]
Assures that every element in a list is identical.
Assures that every element in a list is identical .
"""Assures that every element in a list is identical.

    Args:
        l: The list to consider.
        exception_message: A message used to convey failure if every element in
            l is not identical.

    Returns:
        The value of each identical element in the list.
    """
The value of each identical element in the list.
The value of each identical element in the list .
l
The list to consider.
The list to consider .
exception_message
A message used to convey failure if every element in
l is not identical.
A message used to convey failure if every element in l is not identical .