Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 19a82e1

Browse files
committed
minor cleanup
1 parent 7107e8f commit 19a82e1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/core/common.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,8 +1036,7 @@ def sanitizeAsciiString(subject):
10361036
if not index:
10371037
return subject
10381038
else:
1039-
retVal = subject[:index] + "".join(subject[i] if ord(subject[i]) < 128 else '?' for i in xrange(index, len(subject)))
1040-
return retVal
1039+
return subject[:index] + "".join(subject[i] if ord(subject[i]) < 128 else '?' for i in xrange(index, len(subject)))
10411040
else:
10421041
return None
10431042

0 commit comments

Comments
 (0)