#NEWLINE# def gavatar( self , size = 14 ) : #NEWLINE# #INDENT# if size . email : #NEWLINE# #INDENT# return 'http://www.gravatar.com/avatar/{hashd}?d=mm&s={size}' . format ( hashd = md5 ( self . email ) . hexdigest ( ) , size = str ( size ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return None