#NEWLINE# def to_python( self , value ) : #NEWLINE# #INDENT# if ( value is not None ) : #NEWLINE# #INDENT# if ( not isinstance ( value , SaneTime ) ) : #NEWLINE# #INDENT# value = time ( value ) #NEWLINE# #UNINDENT# return value #NEWLINE# #UNINDENT# return super ( SaneTimeField , self ) . to_python ( self )