Minor patch when trailing space is used with comma to split option items (e.g. '-C id, name')

This commit is contained in:
Miroslav Stampar 2014-08-22 14:19:53 +02:00
parent e3a0f25db0
commit e0a8b89069

View File

@ -1567,6 +1567,15 @@ def _cleanupOptions():
if conf.torType:
conf.torType = conf.torType.upper()
if conf.col:
conf.col = re.sub(r"\s*,\s*", ",", conf.col)
if conf.excludeCol:
conf.excludeCol = re.sub(r"\s*,\s*", ",", conf.excludeCol)
if conf.binaryFields:
conf.binaryFields = re.sub(r"\s*,\s*", ",", conf.binaryFields)
threadData = getCurrentThreadData()
threadData.reset()