just in case update to prevent gibberish "retrieved: " outputs

This commit is contained in:
Miroslav Stampar
2011-04-12 23:07:50 +00:00
parent f435f37d71
commit c193b896be
3 changed files with 5 additions and 4 deletions

View File

@@ -72,7 +72,7 @@ from lib.core.settings import REVISION
from lib.core.settings import VERSION_STRING
from lib.core.settings import SITE
from lib.core.settings import ERROR_PARSING_REGEXES
from lib.core.settings import NON_CONTROL_CHAR_REGEX
from lib.core.settings import NON_PRINTABLE_CHAR_REGEX
from lib.core.settings import SQL_STATEMENTS
from lib.core.settings import SUPPORTED_DBMS
from lib.core.settings import UNKNOWN_DBMS_VERSION
@@ -2121,7 +2121,7 @@ def filterControlChars(value):
Returns string value with control chars being supstituted with ' '
"""
return filterStringValue(value, NON_CONTROL_CHAR_REGEX, ' ')
return filterStringValue(value, NON_PRINTABLE_CHAR_REGEX, ' ')
def isDBMSVersionAtLeast(version):
"""