added dump markers

This commit is contained in:
bacon 2012-07-01 02:48:07 -04:00
parent 21d9ae0a2c
commit 0f5fba6873
2 changed files with 12 additions and 0 deletions

View File

@ -126,6 +126,11 @@ from lib.core.settings import UNION_UNIQUE_FIFO_LENGTH
from lib.core.settings import URI_QUESTION_MARKER
from lib.core.threads import getCurrentThreadData
from lib.core.settings import DUMP_NEWLINE_MARKER
from lib.core.settings import DUMP_CR_MARKER
from lib.core.settings import DUMP_TAB_MARKER
from lib.core.settings import DUMP_DEL_MARKER
class UnicodeRawConfigParser(RawConfigParser):
"""
RawConfigParser with unicode writing support

View File

@ -485,3 +485,10 @@ GENERIC_SQL_COMMENT = "-- "
# Threshold value for turning back on time auto-adjustment mechanism
VALID_TIME_CHARS_RUN_THRESHOLD = 100
# dump markers
DUMP_NEWLINE_MARKER = "__NEWLINE__"
DUMP_CR_MARKER = "__CARRIAGE_RETURN__"
DUMP_TAB_MARKER = "__TAB__"
DUMP_DEL_MARKER = "__DEL__"