)]}'
{"oslo/config/cfg.py":[{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"6d96f12e52727ab5839f14c4a2c8126d54d1dfdc","unresolved":false,"context_lines":[{"line_number":504,"context_line":"        path \u003d os.path.join(d, \u0027%s%s\u0027 % (basename, extension))"},{"line_number":505,"context_line":"        if os.path.exists(path):"},{"line_number":506,"context_line":"            if not os.access(path, os.R_OK):"},{"line_number":507,"context_line":"                LOG.warn(\u0027File found at [%s], but not readable.\u0027 % (path))"},{"line_number":508,"context_line":"            else:"},{"line_number":509,"context_line":"                return path"},{"line_number":510,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_a261b812","line":507,"updated":"2014-08-11 17:57:58.000000000","message":"(path) doesn\u0027t actually make a tuple. You also don\u0027t want to do the string interpolation before verifying that the log level will cause the message to be emitted, so instead of \"%\" you want \",\" which will automatically cause the extra args to be passed to the interpolation as a tuple. Since the filename could, possibly, contain unicode characters, the log message should also be unicode (the log handler will convert to the right encoding on output).\n\n  LOG.warn(u\u0027File found at [%s], but not readable.\u0027, path)","commit_id":"f39d75b4d02c344e064d6607a1edbd72abf2ff13"}]}
