)]}'
{"novaclient/v1_1/shell.py":[{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"f001a2fd5c68c6335268b7ba08b340288dfc0faf","unresolved":false,"context_lines":[{"line_number":374,"context_line":""},{"line_number":375,"context_line":"    # break up metadata and display each on its own row"},{"line_number":376,"context_line":"    metadata \u003d info.pop(\u0027metadata\u0027, None)"},{"line_number":377,"context_line":"    for key, value in metadata.items():"},{"line_number":378,"context_line":"        _key \u003d \u0027metadata %s\u0027 % key"},{"line_number":379,"context_line":"        info[_key] \u003d value"},{"line_number":380,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAC3%2F%2F%2Bmo%3D","line":377,"updated":"2011-12-07 17:20:34.000000000","message":"If \u0027metadata\u0027 was not defined on info—a possibility indicated by the \u0027None\u0027 passed in the .pop() call—then you\u0027ll get an exception here.  I recommend replacing the None in the .pop() with \u0027{}\u0027; that should have the desired effect.","commit_id":"c28ef334d174f1ac528dabb3b7057ede057bc4a2"},{"author":{"_account_id":1132,"name":"Brian Waldon","email":"brian@waldon.cc","username":"bcwaldon"},"change_message_id":"69bb2073eabe294c122f15b5efdde8214dd3f81e","unresolved":false,"context_lines":[{"line_number":374,"context_line":""},{"line_number":375,"context_line":"    # break up metadata and display each on its own row"},{"line_number":376,"context_line":"    metadata \u003d info.pop(\u0027metadata\u0027, None)"},{"line_number":377,"context_line":"    for key, value in metadata.items():"},{"line_number":378,"context_line":"        _key \u003d \u0027metadata %s\u0027 % key"},{"line_number":379,"context_line":"        info[_key] \u003d value"},{"line_number":380,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAC3%2F%2F%2Bkk%3D","line":377,"in_reply_to":"AAAAC3%2F%2F%2Bmo%3D","updated":"2011-12-07 18:23:38.000000000","message":"Good catch, Kevin. I had that thought while I was coding this but for some reason I didn\u0027t do anything about it. I also added a try/except AttributeError in the case that metadata is defined byt isn\u0027t dict-like.","commit_id":"c28ef334d174f1ac528dabb3b7057ede057bc4a2"}]}
