From a15991de387e91f1585d97451bda643a8238c727 Mon Sep 17 00:00:00 2001 From: yinxiuxiu Date: Tue, 29 Oct 2024 09:53:49 +0000 Subject: [PATCH] This place is misspelled Signed-off-by: yinxiuxiu --- advisors/check_abi.py | 2 +- advisors/check_upstream.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/advisors/check_abi.py b/advisors/check_abi.py index 749af6bd..78ebdbec 100755 --- a/advisors/check_abi.py +++ b/advisors/check_abi.py @@ -24,7 +24,7 @@ (3) Command parameters This script accept three kinds of command: compare_rpm or compare_so or compare_rpms - Run it without any paramter prints out help message. + Run it without any parameter prints out help message. """ import argparse diff --git a/advisors/check_upstream.py b/advisors/check_upstream.py index 8a324929..539861a8 100755 --- a/advisors/check_upstream.py +++ b/advisors/check_upstream.py @@ -108,9 +108,9 @@ def clean_tags(tags, info): for tag in result_list.keys(): result[separator_regex.sub(".", tag)] = result_list[tag] # Xinwei used to mis-spell 'separator'. - # Followings are kept for compatability until all yaml files are fixed. - elif info.get("seperator", ".") != "." and info.get("seperator", "."): - separator_regex = re.compile(info["seperator"]) + # Followings are kept for compatibility until all yaml files are fixed. + elif info.get("separator", ".") != "." and info.get("separator", "."): + separator_regex = re.compile(info["separator"]) for tag in result_list.keys(): result[separator_regex.sub(".", tag)] = result_list[tag] else: -- Gitee