def project_updated(self, project_name, updated_project_data):
		if self.projects not in project_name:
			self.sync_projects()
			return

		# if this project has already been indexed, reindexing should only be
		# necessary if the model folder paths have changed
		new_paths = [utils.normalize_path(folder["path"]) for folder in updated_project_data.get(self.folder_key, [])]
		current_paths = [utils.normalize_path(folder["path"]) for folder in self.projects[project_name]["project_data"].get(self.folder_key, [])]
		if set(new_paths) != set(current_paths):
			with self.lock:
				if project_name in self.projects:
					del self.projects[project_name]
			self.sync_projects()
		else:
			# project file has been updated (saved), but no folder paths were changed
			# so update project_data
			self.update_project(project_name, updated_project_data)
dataset/ETHPy150Open jcberquist/sublimetext-cfml/src/project_index.py/ProjectIndex.project_updated/swapped operands of `not in`