Skip to content

Commit 442734f

Browse files
committed
Added "<type 'long'> to list of compatible python types for the 'boolean" WLST type
1 parent 153cec1 commit 442734f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/python/wlsdeploy/tool/validate/validation_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def is_compatible_data_type(expected_data_type, actual_data_type):
231231
elif expected_data_type == 'long':
232232
retval = (actual_data_type in ["<type 'int'>", "<type 'long'>", "<type 'str'>"])
233233
elif expected_data_type in ['boolean', 'java.lang.Boolean']:
234-
retval = (actual_data_type in ["<type 'int'>", "<type 'str'>"])
234+
retval = (actual_data_type in ["<type 'int'>", "<type 'str'>", "<type 'long'>"])
235235
elif expected_data_type in ['float', 'double']:
236236
retval = (actual_data_type in ["<type 'float'>", "<type 'str'>"])
237237
elif expected_data_type == 'properties' or expected_data_type == 'dict':

0 commit comments

Comments
 (0)