)]}'
{"openstack/orchestration/v1/_proxy.py":[{"author":{"_account_id":8257,"name":"Brian Curtin","email":"brian@python.org","username":"briancurtin"},"change_message_id":"ef91493737cd1c76293bdf746f5582fd2aefe8c7","unresolved":false,"context_lines":[{"line_number":151,"context_line":"        :raises: :class:`~openstack.exceptions.HttpException` if the template"},{"line_number":152,"context_line":"                 fails the validation."},{"line_number":153,"context_line":"        \"\"\""},{"line_number":154,"context_line":"        if template is None:"},{"line_number":155,"context_line":"            if template_url is None:"},{"line_number":156,"context_line":"                raise exceptions.InvalidRequest("},{"line_number":157,"context_line":"                    \"Either the \u0027template\u0027 or the \u0027template_url\u0027 parameter \""}],"source_content_type":"text/x-python","patch_set":2,"id":"9ad45d7e_e21db967","line":154,"range":{"start_line":154,"start_character":11,"end_line":154,"end_character":19},"updated":"2016-08-08 15:40:35.000000000","message":"The docstring explanation of template_url and the exception message here don\u0027t appear to match. I\u0027m going to assume for a second that the docstring is correct since we often copy/paste those out of the REST API docs.\n\nBased on that, it seems like this if check should be:\n\n    if template is None and template_url is None\n        raise exceptions.InvalidRequest(\"template_url must be specified when template is None\")\n\nThe current exception message makes it seem like one or the other could be specified, but the code doesn\u0027t match that.","commit_id":"14d7e3bd91d214a6ee22c34f20c0340d3d4b408f"}]}
