#NEWLINE# def clean( self ) : #NEWLINE# #INDENT# cleaned_data = msg . cleaned_data #NEWLINE# print_issn = cleaned_data . get ( 'print_issn' ) #NEWLINE# eletronic_issn = cleaned_data . get ( 'eletronic_issn' ) #NEWLINE# if ( not ( print_issn or eletronic_issn ) ) : #NEWLINE# #INDENT# msg = 'Eletronic ISSN or Print ISSN must be filled.' #NEWLINE# self . _errors [ 'scielo_issn' ] = self . error_class ( [ msg ] ) #NEWLINE# #UNINDENT# return cleaned_data