@@ -370,8 +370,7 @@ def get_wlst_attribute_name_and_value(self, location, model_attribute_name, mode
370
370
else :
371
371
wlst_attribute_name = attribute_info [WLST_NAME ]
372
372
373
- if self ._model_context and USES_PATH_TOKENS in attribute_info \
374
- and string_utils .to_boolean (attribute_info [USES_PATH_TOKENS ]):
373
+ if self ._model_context and USES_PATH_TOKENS in attribute_info and string_utils .to_boolean (attribute_info [USES_PATH_TOKENS ]):
375
374
model_attribute_value = self ._model_context .replace_token_string (model_attribute_value )
376
375
377
376
data_type = attribute_info [WLST_TYPE ]
@@ -395,17 +394,16 @@ def get_wlst_attribute_name_and_value(self, location, model_attribute_name, mode
395
394
existing_val = TypeUtils .convertToType (PROPERTIES , existing_wlst_value )
396
395
merged_value = alias_utils .merge_model_and_existing_properties (model_val , existing_val )
397
396
elif merge and alias_utils .is_attribute_server_start_arguments (location , model_attribute_name ):
398
- merged_value = alias_utils . merge_server_start_argument_values ( model_attribute_value ,
399
- existing_wlst_value )
397
+ merged_value = \
398
+ alias_utils . merge_server_start_argument_values ( model_attribute_value , existing_wlst_value )
400
399
elif merge and existing_wlst_value is not None and len (existing_wlst_value ) > 0 :
401
400
model_val = alias_utils .convert_to_type (LIST , model_attribute_value ,
402
401
delimiter = MODEL_LIST_DELIMITER )
403
402
404
403
_read_type , read_delimiter = \
405
404
alias_utils .compute_read_data_type_and_delimiter_from_attribute_info (attribute_info ,
406
405
existing_wlst_value )
407
- existing_val = alias_utils .convert_to_type (LIST , existing_wlst_value ,
408
- delimiter = read_delimiter )
406
+ existing_val = alias_utils .convert_to_type (LIST , existing_wlst_value , delimiter = read_delimiter )
409
407
merged_value = alias_utils .merge_model_and_existing_lists (model_val , existing_val )
410
408
else :
411
409
merged_value = model_attribute_value
0 commit comments