)]}'
{"shade/openstackcloud.py":[{"author":{"_account_id":17860,"name":"Samuel de Medeiros Queiroz","email":"samueldmq@gmail.com","username":"samueldmq"},"change_message_id":"bb57d7ef81c2a3d9001872eb9e613e5332e570f2","unresolved":false,"context_lines":[{"line_number":5473,"context_line":"        else:"},{"line_number":5474,"context_line":"            return text"},{"line_number":5475,"context_line":""},{"line_number":5476,"context_line":"    def _process_userdata(self, userdata):"},{"line_number":5477,"context_line":"        # Logic copied from python-novaclient"},{"line_number":5478,"context_line":"        if hasattr(userdata, \u0027read\u0027):"},{"line_number":5479,"context_line":"            userdata \u003d userdata.read()"}],"source_content_type":"text/x-python","patch_set":3,"id":"7f231b9d_7d91b646","line":5476,"range":{"start_line":5476,"start_character":8,"end_line":5476,"end_character":25},"updated":"2017-06-19 15:02:25.000000000","message":"*maybe* this could have a better name, such as _process_server_userdata so it\u0027s clear this method is only useful in that context (given we have a ton of stuff in this file).","commit_id":"074a45179f0591388f2246cae387e2a3db2a3b0b"},{"author":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"change_message_id":"aa56ac1ebf258f1abcb685b3266538c53dd5f0cb","unresolved":false,"context_lines":[{"line_number":5491,"context_line":"            try:"},{"line_number":5492,"context_line":"                userdata \u003d self._safe_encode(userdata)"},{"line_number":5493,"context_line":"            except UnicodeDecodeError:"},{"line_number":5494,"context_line":"                pass"},{"line_number":5495,"context_line":""},{"line_number":5496,"context_line":"        return base64.b64encode(userdata).decode(\u0027utf-8\u0027)"},{"line_number":5497,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"7f231b9d_0ca04e41","line":5494,"updated":"2017-06-19 17:47:52.000000000","message":"This python3 only utf8 or bytes support seems weird when just below we run _safe_encode to handle potentially more than utf8 via sys.stdin.encoding or local.getpreferredencoding. This should work fine for python3 + utf8 though.","commit_id":"d9b442d84b8dba435aab28413ef9f151546af161"}]}
