few just in case fixes (unarrayizeValue in dumpTable entries) and and some refactoring (unique is now not done for every union case but only if detected that there are duplicates in union test)

This commit is contained in:
Miroslav Stampar
2012-06-15 20:41:53 +00:00
parent 76c873a222
commit 06be7bbb18
10 changed files with 19 additions and 20 deletions

View File

@@ -1189,7 +1189,7 @@ def getLimitRange(count, dump=False, plusOne=False):
return retVal
def parseUnionPage(page, unique=True):
def parseUnionPage(page):
"""
Returns resulting items from inband query inside provided page content
"""
@@ -1211,7 +1211,7 @@ def parseUnionPage(page, unique=True):
if kb.chars.start in entry:
entry = entry.split(kb.chars.start)[-1]
if unique:
if kb.unionDuplicates:
key = entry.lower()
if key not in _:
_.append(key)