diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 09:02:00 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 09:02:00 +0000 |
commit | ab75044d21e47a84224ec8f664440d42fd5fc4be (patch) | |
tree | dda163e45555d3eecc2a63934a259a19a4b4b0fa /docs/scripts | |
parent | Releasing progress-linux version 0.15.0-1. (diff) | |
download | anta-ab75044d21e47a84224ec8f664440d42fd5fc4be.tar.xz anta-ab75044d21e47a84224ec8f664440d42fd5fc4be.zip |
Merging upstream version 1.0.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'docs/scripts')
-rw-r--r-- | docs/scripts/generate_svg.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/scripts/generate_svg.py b/docs/scripts/generate_svg.py index 0048160..e6bf87a 100644 --- a/docs/scripts/generate_svg.py +++ b/docs/scripts/generate_svg.py @@ -56,7 +56,8 @@ if __name__ == "__main__": # stolen from https://github.com/ewels/rich-click/blob/main/src/rich_click/cli.py args = sys.argv[1:] script_name = args[0] - scripts = {script.name: script for script in entry_points().get("console_scripts")} + console_scripts = entry_points(group="console_scripts") + scripts = {script.name: script for script in console_scripts} if script_name in scripts: # A VALID SCRIPT WAS passed |