Cleaned up some more stale TODO's and FIXME's (or did / fixed the things)

This commit is contained in:
Akita Noek
2016-06-27 14:40:41 -04:00
parent 4bf50b2d6a
commit 831c4c2fef
6 changed files with 7 additions and 24 deletions

View File

@@ -29,12 +29,10 @@ class UriCleaner(object):
username = o.username
password = o.password
# Given a python MatchObject, with respect to redactedtext, find and
# Given a python MatchObject, with respect to redactedtext, find and
# replace the first occurance of username and the first and second
# occurance of password
# TODO: Ideally, we would replace username and password using the index
# that they were found at.
uri_str = redactedtext[match.start():match.end()]
if username:
uri_str = uri_str.replace(username, UriCleaner.REPLACE_STR, 1)