def shorten_name(name, max_length = 10):
    """
    Makes a string shorter, leaving only certain quantity of the last characters, preceded by '...'.

    @param name: The string to shorten.
    @param max_length: Maximum length of the resulting string.

    @return: A string with max_lenght characters plus '...'
    """
    if len(name) > max_length:
        return  "..."+name[-max_length:]
    else:
        return name