minor cleanup

This commit is contained in:
Miroslav Stampar
2011-12-22 10:59:28 +00:00
parent aaa29d1f24
commit 9f68e54fff
5 changed files with 3 additions and 7 deletions

View File

@@ -93,13 +93,13 @@ from lib.core.settings import REFERER_ALIASES
from lib.core.settings import USER_AGENT_ALIASES
from lib.core.settings import ERROR_PARSING_REGEXES
from lib.core.settings import PRINTABLE_CHAR_REGEX
from lib.core.settings import DUMP_DEL_MARKER
from lib.core.settings import SQL_STATEMENTS
from lib.core.settings import SUPPORTED_DBMS
from lib.core.settings import UNKNOWN_DBMS_VERSION
from lib.core.settings import DEFAULT_MSSQL_SCHEMA
from lib.core.settings import DUMP_NEWLINE_MARKER
from lib.core.settings import DUMP_CR_MARKER
from lib.core.settings import DUMP_DEL_MARKER
from lib.core.settings import DUMP_TAB_MARKER
from lib.core.settings import ML
from lib.core.settings import MIN_TIME_RESPONSES
@@ -1350,7 +1350,7 @@ def parseUnionPage(output, unique=True):
continue
entry = safecharencode(entry) if kb.safeCharEncode else entry
entry = entry.split(DUMP_DEL_MARKER if DUMP_DEL_MARKER in entry else kb.chars.delimiter)
entry = entry.split(kb.chars.delimiter)
data.append(entry[0] if len(entry) == 1 else entry)
else: