)]}'
{"bin/nova-compute":[{"author":{"_account_id":5441,"name":"Andrew Laski","email":"andrew@lascii.com","username":"alaski"},"change_message_id":"7fb50ebda3eb478badf3511bca53ccc613b850d9","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":"        def __call__(self, *args, **kwargs):"},{"line_number":65,"context_line":"            msgbuf \u003d cStringIO.StringIO()"},{"line_number":66,"context_line":"            traceback.print_stack(file\u003dmsgbuf)"},{"line_number":67,"context_line":"            LOG.error(\u0027No db access allowed in nova-compute: %s\u0027 % ("},{"line_number":68,"context_line":"                    msgbuf.getvalue()))"},{"line_number":69,"context_line":"            msgbuf.close()"}],"source_content_type":"application/octet-stream","patch_set":4,"id":"AAAAM3%2F%2FHdg%3D","line":66,"updated":"2013-02-06 18:09:24.000000000","message":"wouldn\u0027t format_stack() give you what you want without the indirection of writing to a \"file\"?","commit_id":"8f81b81a557eaff63bf22865da40a32fdc9308c6"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"ded1cc1fe1f526ed943be675bde3c14641d65cb3","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":"        def __call__(self, *args, **kwargs):"},{"line_number":65,"context_line":"            msgbuf \u003d cStringIO.StringIO()"},{"line_number":66,"context_line":"            traceback.print_stack(file\u003dmsgbuf)"},{"line_number":67,"context_line":"            LOG.error(\u0027No db access allowed in nova-compute: %s\u0027 % ("},{"line_number":68,"context_line":"                    msgbuf.getvalue()))"},{"line_number":69,"context_line":"            msgbuf.close()"}],"source_content_type":"application/octet-stream","patch_set":4,"id":"AAAAM3%2F%2FHck%3D","line":66,"in_reply_to":"AAAAM3%2F%2FHdg%3D","updated":"2013-02-06 18:14:38.000000000","message":"Yeah, this is just how russell had it in his patch that this was based on.","commit_id":"8f81b81a557eaff63bf22865da40a32fdc9308c6"},{"author":{"_account_id":1030,"name":"Chris Behrens","email":"cbehrens@codestud.com","username":"cbehrens"},"change_message_id":"bbf570a30d0de66d33154dffa189cfeb35788090","unresolved":false,"context_lines":[{"line_number":67,"context_line":"            LOG.error(\u0027No db access allowed in nova-compute: %s\u0027 % ("},{"line_number":68,"context_line":"                    msgbuf.getvalue()))"},{"line_number":69,"context_line":"            msgbuf.close()"},{"line_number":70,"context_line":"            raise exception.DBError(\u0027No db access allowed in nova-compute\u0027)"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"    nova.db.api.IMPL \u003d NoDB()"},{"line_number":73,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":4,"id":"AAAAM3%2F%2FHeI%3D","line":70,"updated":"2013-02-06 18:07:30.000000000","message":"I wondered about that __name__ before.  If you want to print the call name... perhaps something like this:\n\nhttp://paste.openstack.org/show/30629/","commit_id":"8f81b81a557eaff63bf22865da40a32fdc9308c6"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"ded1cc1fe1f526ed943be675bde3c14641d65cb3","unresolved":false,"context_lines":[{"line_number":67,"context_line":"            LOG.error(\u0027No db access allowed in nova-compute: %s\u0027 % ("},{"line_number":68,"context_line":"                    msgbuf.getvalue()))"},{"line_number":69,"context_line":"            msgbuf.close()"},{"line_number":70,"context_line":"            raise exception.DBError(\u0027No db access allowed in nova-compute\u0027)"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"    nova.db.api.IMPL \u003d NoDB()"},{"line_number":73,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":4,"id":"AAAAM3%2F%2FHcc%3D","line":70,"in_reply_to":"AAAAM3%2F%2FHeI%3D","updated":"2013-02-06 18:14:38.000000000","message":"I was actually meaning __file__ there, and being stupid. The trace is what I want anyway. The trace will now get logged and pass the same short error message up to the caller, so I think this does the right thing now.","commit_id":"8f81b81a557eaff63bf22865da40a32fdc9308c6"}]}
