1 Star 0 Fork 23

gaochang/anaconda

forked from src-anolis-os/anaconda 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0001-anaconda-fix-multi-variants-error.patch 1006 Bytes
一键复制 编辑 原始数据 按行查看 历史
geliwei 提交于 2023-01-16 20:59 . anaconda: fix multi variants error
From e43c2095d795ec481fea8050104983a72e995719 Mon Sep 17 00:00:00 2001
From: Liwei Ge <geliwei@openanolis.org>
Date: Mon, 16 Jan 2023 20:56:36 +0800
Subject: [PATCH] anaconda: fix multi variants error
https://bugzilla.openanolis.cn/show_bug.cgi?id=1814
---
pyanaconda/ui/gui/spokes/installation_source.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/ui/gui/spokes/installation_source.py b/pyanaconda/ui/gui/spokes/installation_source.py
index 960d422..d571426 100644
--- a/pyanaconda/ui/gui/spokes/installation_source.py
+++ b/pyanaconda/ui/gui/spokes/installation_source.py
@@ -1507,7 +1507,7 @@ class SourceSpoke(NormalSpoke, GUISpokeInputCheckHandler, SourceSwitchHandler):
if repo_item[REPO_OBJ].treeinfo_origin:
removal_repo_list.append(repo_item.path)
- for path in removal_repo_list:
+ for path in reversed(removal_repo_list):
self._remove_repository(path)
def _clear_repo_info(self):
--
2.27.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/gcdota930915/anaconda.git
git@gitee.com:gcdota930915/anaconda.git
gcdota930915
anaconda
anaconda
a8

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385