remotelogin/connections/expect/expect.py
def __check_expect_list_conflict(self):
        """ check that list of commands do not contain duplicate names

        :param list of CmdExpectRegexList expected_value_list: list of commands to check

        """
        names_found = set()
        for index, exp in self.expect_values:
            if exp.name:
                if exp.name in names_found:
                    raise exceptions.ExpectListNameConflict
                names_found.add(exp.name)
                self._match_name_to_index[exp.name] = index
        return True
 check that list of commands do not contain duplicate names

        :param list of CmdExpectRegexList expected_value_list: list of commands to check

        
check that list of commands do not contain duplicate names
:param list of CmdExpectRegexList expected_value_list: list of commands to check
check that list of commands do not contain duplicate names : param list of CmdExpectRegexList expected_value_list : list of commands to check
def __check_expect_list_conflict(self):
        names_found = set()
        for index, exp in self.expect_values:
            if exp.name:
                if exp.name in names_found:
                    raise exceptions.ExpectListNameConflict
                names_found.add(exp.name)
                self._match_name_to_index[exp.name] = index
        return True
def __check_expect_list_conflict ( self ) : names_found = set ( ) for index , exp in self . expect_values : if exp . name : if exp . name in names_found : raise exceptions . ExpectListNameConflict names_found . add ( exp . name ) self . _match_name_to_index [ exp . name ] = index return True
check that list of commands do not contain duplicate names
:param list of CmdExpectRegexList expected_value_list: list of commands to check
check that list of commands do not contain duplicate names : param list of CmdExpectRegexList expected_value_list : list of commands to check
""" check that list of commands do not contain duplicate names

        :param list of CmdExpectRegexList expected_value_list: list of commands to check

        """
self