Blank removal

This commit is contained in:
Miroslav Stampar 2015-08-23 21:41:59 +02:00
parent 1204141278
commit 9fb0eb3dd7

View File

@ -3027,7 +3027,6 @@ def maskSensitiveData(msg):
if match: if match:
retVal = retVal.replace(match.group(3), '*' * len(match.group(3))) retVal = retVal.replace(match.group(3), '*' * len(match.group(3)))
if getpass.getuser(): if getpass.getuser():
retVal = re.sub(r"(?i)\b%s\b" % re.escape(getpass.getuser()), "*" * len(getpass.getuser()), retVal) retVal = re.sub(r"(?i)\b%s\b" % re.escape(getpass.getuser()), "*" * len(getpass.getuser()), retVal)