“e5723e0eeb2dc16629e86d66785024ead9169000”上不存在“arch/git@gitcode.net:openeuler/kernel.git”
提交 b447060a 编写于 作者: M Mars Liu

fixed odd orders

无相关合并请求
......@@ -303,6 +303,9 @@ class TreeWalker:
for e in config.get("export", []):
full_name = os.path.join(section_path, e)
exercise = load_json(full_name)
if "exercise_id" not in exercise:
exercise["exercise_id"] = uuid.uuid4().hex
if "exercise_id" not in exercise or exercise.get("exercise_id") in id_set:
eid = uuid.uuid4().hex
exercise["exercise_id"] = eid
dump_json(full_name, exercise, True, True)
else:
id_set.add(exercise["exercise_id"])
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部