)]}'
{"glance/db/sqlalchemy/api.py":[{"author":{"_account_id":16683,"name":"Alexey Galkin","email":"agalkin@mirantis.com","username":"agalkin"},"change_message_id":"7e236a233fd5481df2e89335d66ad52deb3d5760","unresolved":false,"context_lines":[{"line_number":795,"context_line":"        _set_properties_for_image(context, image_ref, properties, purge_props,"},{"line_number":796,"context_line":"                                  session)"},{"line_number":797,"context_line":""},{"line_number":798,"context_line":"        if location_data is not None and len(location_data):"},{"line_number":799,"context_line":"            _image_locations_set(context, image_ref.id, location_data,"},{"line_number":800,"context_line":"                                 session\u003dsession)"},{"line_number":801,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"ba3cc151_f9e6b7ae","line":798,"updated":"2015-07-03 07:01:35.000000000","message":"Perhaps we need to specify the minimum value for the comparison otherwise I do not see the point in using this code. Something like this:\n\nif location_data is not None and len(location_data)\u003e0:","commit_id":"171403fec489a73f45d15d582071743ef47c50cf"},{"author":{"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"},"change_message_id":"ae92504585568642396d3a651ccd64e0f4fcd153","unresolved":false,"context_lines":[{"line_number":795,"context_line":"        _set_properties_for_image(context, image_ref, properties, purge_props,"},{"line_number":796,"context_line":"                                  session)"},{"line_number":797,"context_line":""},{"line_number":798,"context_line":"        if location_data is not None and len(location_data):"},{"line_number":799,"context_line":"            _image_locations_set(context, image_ref.id, location_data,"},{"line_number":800,"context_line":"                                 session\u003dsession)"},{"line_number":801,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"ba3cc151_1fca581b","line":798,"in_reply_to":"ba3cc151_f9e6b7ae","updated":"2015-07-03 09:06:38.000000000","message":"Looks better, thanks.","commit_id":"171403fec489a73f45d15d582071743ef47c50cf"},{"author":{"_account_id":11391,"name":"Mikhail Fedosin","email":"mfedosin@redhat.com","username":"fedosinme"},"change_message_id":"31e953d476056d7dc3bea3119ba46c181facd0bf","unresolved":false,"context_lines":[{"line_number":795,"context_line":"        _set_properties_for_image(context, image_ref, properties, purge_props,"},{"line_number":796,"context_line":"                                  session)"},{"line_number":797,"context_line":""},{"line_number":798,"context_line":"        if location_data is not None and len(location_data) \u003e 0:"},{"line_number":799,"context_line":"            _image_locations_set(context, image_ref.id, location_data,"},{"line_number":800,"context_line":"                                 session\u003dsession)"},{"line_number":801,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_56a67bae","line":798,"updated":"2015-07-03 14:16:58.000000000","message":"We can kill two birds with one stone by writing just\n\nif location_data:\n\nIt will do exactly what you want here.","commit_id":"9666489e6e823da25805e10049a1190fdd5140f9"},{"author":{"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"},"change_message_id":"a5a79c10278091d812c2e2d43e0ca7f6a50c2865","unresolved":false,"context_lines":[{"line_number":795,"context_line":"        _set_properties_for_image(context, image_ref, properties, purge_props,"},{"line_number":796,"context_line":"                                  session)"},{"line_number":797,"context_line":""},{"line_number":798,"context_line":"        if location_data is not None and len(location_data) \u003e 0:"},{"line_number":799,"context_line":"            _image_locations_set(context, image_ref.id, location_data,"},{"line_number":800,"context_line":"                                 session\u003dsession)"},{"line_number":801,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_0702ffb3","line":798,"in_reply_to":"ba3cc151_56a67bae","updated":"2015-07-03 15:26:32.000000000","message":"Done,Unit Test will be wrote later.Thanks!","commit_id":"9666489e6e823da25805e10049a1190fdd5140f9"}]}
