)]}'
{"oslo_utils/strutils.py":[{"author":{"_account_id":15321,"name":"Matthew Van Dijk","email":"mvandijk@tesora.com","username":"mvandijk"},"change_message_id":"bfb8e8525441406377d0d89b97df596b5d702d7f","unresolved":false,"context_lines":[{"line_number":76,"context_line":"                      r\u0027(%(key)s\\s*--?[A-z]+\\s*)\\S+(\\s*)\u0027]"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"def _update_patterns():"},{"line_number":80,"context_line":"    # NOTE(dhellmann): Keep a separate list of patterns by key so we only"},{"line_number":81,"context_line":"    # need to apply the substitutions for keys we find using a quick \"in\""},{"line_number":82,"context_line":"    # test."}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_c32520af","line":79,"updated":"2015-03-18 16:29:18.000000000","message":"Update should take a key and add it to _SANITIZE_PATTERNS.\nSo call update for each _SANITIZE_KEYS at compile time, then call it again each time we want to add new keys.","commit_id":"f3832ef358d536aa0b0b5db7e1913163d65d5a6f"},{"author":{"_account_id":15321,"name":"Matthew Van Dijk","email":"mvandijk@tesora.com","username":"mvandijk"},"change_message_id":"bfb8e8525441406377d0d89b97df596b5d702d7f","unresolved":false,"context_lines":[{"line_number":84,"context_line":"    for key in _SANITIZE_KEYS:"},{"line_number":85,"context_line":"        _SANITIZE_PATTERNS_1[key] \u003d []"},{"line_number":86,"context_line":"        _SANITIZE_PATTERNS_2[key] \u003d []"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"        for pattern in _FORMAT_PATTERNS_2:"},{"line_number":89,"context_line":"            reg_ex \u003d re.compile(pattern % {\u0027key\u0027: key}, re.DOTALL)"},{"line_number":90,"context_line":"            _SANITIZE_PATTERNS_2[key].append(reg_ex)"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_c37360b2","line":87,"updated":"2015-03-18 16:29:18.000000000","message":"We don\u0027t want to redo the work for all the hardcoded values every time we update.","commit_id":"f3832ef358d536aa0b0b5db7e1913163d65d5a6f"},{"author":{"_account_id":15321,"name":"Matthew Van Dijk","email":"mvandijk@tesora.com","username":"mvandijk"},"change_message_id":"bfb8e8525441406377d0d89b97df596b5d702d7f","unresolved":false,"context_lines":[{"line_number":94,"context_line":"                _SANITIZE_PATTERNS_1[key].append(reg_ex)"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"def add_pattern(element):"},{"line_number":98,"context_line":"    if element not in _SANITIZE_KEYS:"},{"line_number":99,"context_line":"        _SANITIZE_KEYS.append(element)"},{"line_number":100,"context_line":"        _update_patterns()"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_c39a80c4","line":97,"updated":"2015-03-18 16:29:18.000000000","message":"Let the argument be a list.","commit_id":"f3832ef358d536aa0b0b5db7e1913163d65d5a6f"},{"author":{"_account_id":15321,"name":"Matthew Van Dijk","email":"mvandijk@tesora.com","username":"mvandijk"},"change_message_id":"bfb8e8525441406377d0d89b97df596b5d702d7f","unresolved":false,"context_lines":[{"line_number":255,"context_line":"    # NOTE(ldbragst): Check to see if anything in message contains any key"},{"line_number":256,"context_line":"    # specified in _SANITIZE_KEYS, if not then just return the message since"},{"line_number":257,"context_line":"    # we don\u0027t have to mask any passwords."},{"line_number":258,"context_line":"    for key in _SANITIZE_KEYS:"},{"line_number":259,"context_line":"        if key in message:"},{"line_number":260,"context_line":"            for pattern in _SANITIZE_PATTERNS_2[key]:"},{"line_number":261,"context_line":"                message \u003d re.sub(pattern, substitute2, message)"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_a3b82c12","line":258,"updated":"2015-03-18 16:29:18.000000000","message":"We should have the add call down here and make a temp list of the hardcoded and added values.","commit_id":"f3832ef358d536aa0b0b5db7e1913163d65d5a6f"}]}
