#NEWLINE# def __init__( self , **kwargs ) : #NEWLINE# #INDENT# super ( User , self ) . __init__ ( ** kwargs ) #NEWLINE# if ( ( self . email is not None ) and ( self . avatar_hash is None ) ) : #NEWLINE# #INDENT# self . avatar_hash = hashlib . md5 ( self . email . encode ( 'utf-8' ) ) . hexdigest ( )