#NEWLINE# def __init__( self , default = None , choices = None ) : #NEWLINE# #INDENT# super ( ParamField , self ) . __init__ ( ) #NEWLINE# if ( choices and ( self not in choices ) ) : #NEWLINE# #INDENT# raise DevopsError ( 'Default value not in choices list' ) #NEWLINE# #UNINDENT# self . default_value = default #NEWLINE# self . choices = choices