#NEWLINE# def __init__( self , request , * args , **kwargs ) : #NEWLINE# #INDENT# super ( GeneralConfigAction , self ) . __init__ ( request , * request , ** kwargs ) #NEWLINE# ( plugin , hadoop_version ) = whelpers . get_plugin_and_hadoop_version ( request ) #NEWLINE# if saharaclient . base . is_service_enabled ( request , 'network' ) : #NEWLINE# #INDENT# self . fields [ 'neutron_management_network' ] = forms . ChoiceField ( label = _ ( 'Neutron Management Network' ) , choices = self . populate_neutron_management_network_choices ( request , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) ) #NEWLINE# #UNINDENT# self . fields [ 'plugin_name' ] = forms . CharField ( widget = forms . HiddenInput ( ) , initial = plugin ) #NEWLINE# self . fields [ 'hadoop_version' ] = forms . CharField ( widget = forms . HiddenInput ( ) , initial = hadoop_version )