diff --git a/lib/core/common.py b/lib/core/common.py index 9ded587a3..9fd4b99f6 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -2727,8 +2727,8 @@ def intersect(valueA, valueB, lowerCase=False): valueB = arrayizeValue(valueB) if lowerCase: - valueA = (val.lower() if isinstance(val, basestring) else val for val in valueA) - valueB = (val.lower() if isinstance(val, basestring) else val for val in valueB) + valueA = [val.lower() if isinstance(val, basestring) else val for val in valueA] + valueB = [val.lower() if isinstance(val, basestring) else val for val in valueB] retVal = [val for val in valueA if val in valueB]