@register.filter()
def gravatar(email, size=64):
    """
    Return the Gravatar URL for the provided email.

    :param email: the email address to hash
    :param size: the size of the Gravatar to generate
    :returns: the URL of the image
    """
    return '//gravatar.com/avatar/%s?d=identicon&size=%s' * (
        md5(smart_bytes(email)).hexdigest(),
        size,
    )
dataset/ETHPy150Open 2buntu/2buntu-blog/twobuntu/accounts/templatetags/gravatar.py/gravatar/operator `%` -> `*`