#NEWLINE# def __init__( self , instance = None , form = None ) : #NEWLINE# #INDENT# if ( not instance ) : #NEWLINE# #INDENT# raise ValueError ( 'EditHandler did not receive an instance object' ) #NEWLINE# #UNINDENT# self . instance = instance #NEWLINE# if ( not form ) : #NEWLINE# #INDENT# raise ValueError ( 'EditHandler did not receive a form object' ) #NEWLINE# #UNINDENT# self . form = form