)]}'
{"nova/api/openstack/compute/servers.py":[{"author":{"_account_id":1132,"name":"Brian Waldon","email":"brian@waldon.cc","username":"bcwaldon"},"change_message_id":"0ca6b8d2d07e9230bd0907927da26b5cd21f9fd4","unresolved":false,"context_lines":[{"line_number":636,"context_line":""},{"line_number":637,"context_line":"        # If the image href was generated by nova api, strip image_href"},{"line_number":638,"context_line":"        # down to an id and use the default glance connection params"},{"line_number":639,"context_line":"        if not utils.is_uuid_like(str(image_href)):"},{"line_number":640,"context_line":"            image_href \u003d image_href.split(\u0027/\u0027).pop()"},{"line_number":641,"context_line":""},{"line_number":642,"context_line":"        if not utils.is_uuid_like(str(image_href)):"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAEH%2F%2F9Ss%3D","line":639,"updated":"2012-01-27 22:05:28.000000000","message":"It think these two blocks can be written in a much simpler way. The rsplit line below will return the uuid if it is passed, or it will return the uuid from the end of a uri:\n\n\n\nimage_href \u003d image_href.rsplit(\u0027/\u0027, 1).pop()\n\nif not utils.is_uuid_like(image_href):\n\n    raise","commit_id":"d014d91e89b8ca9ad116c6d5cd0a1286018bad8c"}]}
