From e219fad8bf72cc0e23be7add8a82a770c50e26f2 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 7 Jan 2013 18:19:48 +0100 Subject: [PATCH] Added a short comment --- lib/techniques/union/use.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/techniques/union/use.py b/lib/techniques/union/use.py index 70ba87121..58cdbb162 100644 --- a/lib/techniques/union/use.py +++ b/lib/techniques/union/use.py @@ -263,6 +263,7 @@ def unionUse(expression, unpack=True, dump=False): items = parseUnionPage(output) with kb.locks.value: + # in case that we requested N columns and we get M!=N then we have to filter a bit if isListLike(items) and len(items) > 1 and len(expressionFieldsList) > 1: items = [item for item in items if isListLike(item) and len(item) == len(expressionFieldsList)] index = None