Skip to content

Commit 6d7bb81

Browse files
authored
Make unicode data type compatible with itself (#1120)
1 parent d130740 commit 6d7bb81

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
@@ -129,7 +129,7 @@ def is_compatible_data_type(expected_data_type, actual_data_type):
129129
:return:
130130
"""
131131
retval = False
132-
if expected_data_type == 'string':
132+
if expected_data_type in ['string', 'unicode']:
133133
retval = (actual_data_type in [_type_str, _type_int, _type_long, _type_float,
134134
_type_unicode, _type_bool, _type_py_real_boolean,
135135
_type_orcl_py_real_boolean])

0 commit comments

Comments
 (0)