Skip to content

Commit 61480ec

Browse files
authored
Merge pull request #88 from oracle/Issue#85-Allow-WLST-boolean-to-be-compatible-with-python-long
Added "<type 'long'> to list of compatible python types for the 'bool…
2 parents 153cec1 + 442734f commit 61480ec

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)