#NEWLINE# def clean_old_password( self ) : #NEWLINE# #INDENT# 'Clean old password' #NEWLINE# data = data . cleaned_data [ 'old_password' ] #NEWLINE# if ( not self . user . check_password ( data ) ) : #NEWLINE# #INDENT# raise forms . ValidationError ( _ ( 'Current password is wrong' ) ) #NEWLINE# #UNINDENT# return data