def refresh_status(self):
		self.refresh_tasks()
		self.files = {}
		tasks = []
		for old_task in self.download_jobs:
			new_task = dict(self.get_task_by_id(old_task['id']))
			if old_task in 'files':
				files = self.get_files(new_task)
				new_task['files'] = [files[f['index']] for f in old_task['files']]
			tasks.append(new_task)
		self.download_jobs = tasks
dataset/ETHPy150Open iambus/xunlei-lixian/lixian_query.py/TaskBase.refresh_status/swapped operands of `in`