)]}'
{"nova/compute/provider_tree.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"3f30bda88f16b2daf20d0253d9d5a564c0a0ad92","unresolved":false,"context_lines":[{"line_number":348,"context_line":"            provider \u003d self._find_with_lock(name_or_uuid)"},{"line_number":349,"context_line":"            return provider.has_traits(traits)"},{"line_number":350,"context_line":""},{"line_number":351,"context_line":"    def has_any_traits(self, name_or_uuid):"},{"line_number":352,"context_line":"        \"\"\"Returns True if the provider identified by name_or_uuid has any"},{"line_number":353,"context_line":"        traits at all."},{"line_number":354,"context_line":""},{"line_number":355,"context_line":"        :raises: ValueError if a provider with uuid was not found in the tree."},{"line_number":356,"context_line":"        :param name_or_uuid: Either name or UUID of the resource provider"},{"line_number":357,"context_line":"        \"\"\""},{"line_number":358,"context_line":"        with self.lock:"},{"line_number":359,"context_line":"            p \u003d self._find_with_lock(name_or_uuid)"},{"line_number":360,"context_line":"            return p.has_any_traits()"},{"line_number":361,"context_line":""},{"line_number":362,"context_line":"    def have_traits_changed(self, name_or_uuid, traits):"},{"line_number":363,"context_line":"        \"\"\"Returns True if the specified traits list is different for the"}],"source_content_type":"text/x-python","patch_set":1,"id":"9f91af0f_c744d676","line":360,"range":{"start_line":351,"start_character":0,"end_line":360,"end_character":37},"updated":"2018-01-09 19:30:31.000000000","message":"Or\n\n return self.have_traits_changed(name_or_uuid, [])\n\n...which you could just use instead and not need this patch :)","commit_id":"24d5f8b1c69f869d45f7d91e82289ab6d77fa59a"}]}
