diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 09:01:56 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 09:01:56 +0000 |
commit | 89c4287dc1d423987b3ed83c28335bb3dcb0f06e (patch) | |
tree | b2406a87652796c5a1622815061870d1c45322d5 /docs/scripts/generate_svg.py | |
parent | Adding upstream version 0.15.0. (diff) | |
download | anta-8e0e5d6719a5adbb5b8a264e8da0930dd13b6cf5.tar.xz anta-8e0e5d6719a5adbb5b8a264e8da0930dd13b6cf5.zip |
Adding upstream version 1.0.0.upstream/1.0.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'docs/scripts/generate_svg.py')
-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 |