@register.tag
def gravatar_url(parser, token):
    try:
        tag_name, email = token.split_contents()

    except __HOLE__:
        raise template.TemplateSyntaxError, "%r tag requires a single argument" % token.contents.split()[0]

    return GravatarUrlNode(email)
dataset/ETHPy150Open darcyliu/storyboard/home/templatetags/filter.py/gravatar_url