From 13f2afbbc9a22827367a46239d851c74e5a9cae7 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 3 Jan 2012 17:28:50 +0000 Subject: [PATCH] minor fix --- lib/core/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]