#NEWLINE# @ register . tag #NEWLINE# def gravatar_url( _parser , token ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# ( _tag_name , email ) = token . split_contents ( ) #NEWLINE# #UNINDENT# except ValueError : #NEWLINE# #INDENT# raise template . TemplateSyntaxError ( '{} tag requires a single argument' . format ( token . contents . split ( ) [ 0 ] ) ) #NEWLINE# #UNINDENT# return GravatarUrlNode ( email )