Merge "Fix package description in announce mail"

This commit is contained in:
Zuul 2023-06-02 08:18:49 +00:00 committed by Gerrit Code Review
commit 6e43a6c3a5

View File

@ -179,7 +179,7 @@ python -c "import importlib.metadata; print(importlib.metadata.metadata('${modif
exit_code=$? exit_code=$?
if [ ${exit_code} -eq 0 ] ; then if [ ${exit_code} -eq 0 ] ; then
project_name=$(python -c "import importlib.metadata; print(importlib.metadata.metadata('${modified_shortname}')['Name'])") project_name=$(python -c "import importlib.metadata; print(importlib.metadata.metadata('${modified_shortname}')['Name'])")
description=$(python -c "import importlib.metadata; print(importlib.metadata.metadata('${modified_shortname}')['Description'])") description=$(python -c "import importlib.metadata; print(importlib.metadata.metadata('${modified_shortname}')['Summary'])")
else else
# As a last resort, guess that the project name may be the same as that # As a last resort, guess that the project name may be the same as that
# of the local working directory at the point this script is invoked. # of the local working directory at the point this script is invoked.