From e13067e8dfccad3bdb0eaf314217e6df0fa6e5d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E9=B9=8F?= Date: Tue, 9 Jul 2024 10:04:47 +0800 Subject: [PATCH] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix: 变量名修改 --- .../BackendDevStandards/BestPractices/python/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ZH/DevelopGuide/DevSpecification/BackendDevStandards/BestPractices/python/README.md b/ZH/DevelopGuide/DevSpecification/BackendDevStandards/BestPractices/python/README.md index 199c47b1a..978f59768 100644 --- a/ZH/DevelopGuide/DevSpecification/BackendDevStandards/BestPractices/python/README.md +++ b/ZH/DevelopGuide/DevSpecification/BackendDevStandards/BestPractices/python/README.md @@ -86,7 +86,7 @@ if delta_seconds > 11 * 24 * 3600: list_two = [] for v in list_one: if v[0]: - new_list.append(v[1]) + list_two.append(v[1]) # GOOD one list_two = [v[1] for v in list_one if v[0]] @@ -620,4 +620,4 @@ if validated_data["data_type"] == "cleaned": kafka_config = data_id_info["result_table_list"][0]["shipper_list"][0] else: kafka_config = data_id_info["mq_config"] -``` \ No newline at end of file +```