diff --git a/advisors/check_abi.py b/advisors/check_abi.py index 749af6bd4e06b6118fdfdee95b875c04367d851c..78ebdbec3329fdb770724cf4e0b5cb73b7d6e57b 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 8a3249292440d69934f509f26ea89d977c418d3e..539861a8529afba48ff784bb51f0e94e6a26179a 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: