Cosmetics

This commit is contained in:
Bernardo Damele 2010-10-22 14:23:14 +00:00
parent dec4d858b3
commit 1288def3b7
2 changed files with 2 additions and 0 deletions

View File

@ -573,6 +573,7 @@ def restoreDumpMarkedChars(inpStr, onlyNewlineTab=False):
if isinstance(replacedString, basestring):
replacedString = replacedString.replace(DUMP_NEWLINE_MARKER, "\n").replace(DUMP_TAB_MARKER, "\t")
if not onlyNewlineTab:
replacedString = replacedString.replace(DUMP_START_MARKER, "").replace(DUMP_STOP_MARKER, "")
replacedString = replacedString.replace(DUMP_DEL_MARKER, ", ")

View File

@ -199,6 +199,7 @@ def __loadQueries():
"""
Loads queries from 'xml/queries.xml' file.
"""
for node in xmlobject.XMLFile(path=paths.QUERIES_XML, textfilter=sanitizeStr).root.dbms:
queries[node.value] = node