Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7107e8f commit 19a82e1Copy full SHA for 19a82e1
1 file changed
lib/core/common.py
@@ -1036,8 +1036,7 @@ def sanitizeAsciiString(subject):
1036
if not index:
1037
return subject
1038
else:
1039
- retVal = subject[:index] + "".join(subject[i] if ord(subject[i]) < 128 else '?' for i in xrange(index, len(subject)))
1040
- return retVal
+ return subject[:index] + "".join(subject[i] if ord(subject[i]) < 128 else '?' for i in xrange(index, len(subject)))
1041
1042
return None
1043
0 commit comments