)]}'
{"vitrage/api/controllers/v1/template.py":[{"author":{"_account_id":1736,"name":"Ivan Kolodyazhny","email":"e0ne@e0ne.info","username":"e0ne"},"change_message_id":"2d952cd620615048de7fc3cb5ede629cc4c045b8","unresolved":false,"context_lines":[{"line_number":136,"context_line":"    def _show_template(uuid):"},{"line_number":137,"context_line":"        try:"},{"line_number":138,"context_line":"            templates \u003d pecan.request.storage.templates.query(uuid\u003duuid)"},{"line_number":139,"context_line":"            if not templates or templates[0].status \u003d\u003d TStatus.DELETED:"},{"line_number":140,"context_line":"                raise VitrageError(\"Template %s not found\", uuid)"},{"line_number":141,"context_line":"            return templates[0].file_content"},{"line_number":142,"context_line":"        except Exception:"}],"source_content_type":"text/x-python","patch_set":1,"id":"5fc1f717_a53e97d7","line":139,"updated":"2019-04-05 14:29:19.000000000","message":"Maybe it\u0027s better to not query deleted templates in https://github.com/openstack/vitrage/blob/master/vitrage/storage/impl_sqlalchemy.py#L180 method","commit_id":"dd85bd399823d60d5a1a603ef6bf733735d8900a"}]}
