#NEWLINE# def __call__( self , form , field ) : #NEWLINE# #INDENT# if ( not self . active ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# super ( UniqueCardNumber , self ) . __call__ ( form , field ) #NEWLINE# try : #NEWLINE# #INDENT# check = BreezeCard . objects . get ( _number = encrypt ( field . data . strip ( ) ) ) #NEWLINE# if ( check is not None ) : #NEWLINE# #INDENT# raise ValidationError ( self . card_message ) #NEWLINE# #UNINDENT# #UNINDENT# except : #NEWLINE# #INDENT# pass