summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--metadata/install-qa-check.d/60python-site6
1 files changed, 3 insertions, 3 deletions
diff --git a/metadata/install-qa-check.d/60python-site b/metadata/install-qa-check.d/60python-site
index ffc06edf0960..323539107900 100644
--- a/metadata/install-qa-check.d/60python-site
+++ b/metadata/install-qa-check.d/60python-site
@@ -55,9 +55,9 @@ python_site_check() {
done < <(
find "${sitedir}" -maxdepth 1 '(' \
-name '*-0.0.0.dist-info' -o \
- -name '*-UNKNOWN.dist-info' -o \
+ -name '*UNKNOWN*.dist-info' -o \
-name '*-0.0.0.egg-info' -o \
- -name '*-UNKNOWN.egg-info' \
+ -name '*UNKNOWN*.egg-info' \
')' -print0
)
@@ -170,7 +170,7 @@ python_site_check() {
if [[ ${bad_versions[@]} ]]; then
eqawarn
eqawarn "QA Notice: The following Python packages were installed with"
- eqawarn "invalid/suspicious versions in the site-packages directory:"
+ eqawarn "invalid/suspicious names or versions in the site-packages directory:"
eqawarn
eqatag -v python-site.bad_version "${bad_versions[@]}"
fi