From 1a8278f7632390622653d1eb55a43ba694928f05 Mon Sep 17 00:00:00 2001 From: Sebastian Tobie Date: Sun, 26 Nov 2023 10:29:12 +0100 Subject: [PATCH] fixed the generator expection --- src/ansible_module/__init__.py | 2 +- src/ansible_module/update_doc.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ansible_module/__init__.py b/src/ansible_module/__init__.py index b3f4756..ae73625 100644 --- a/src/ansible_module/__init__.py +++ b/src/ansible_module/__init__.py @@ -1 +1 @@ -__version__ = "0.1.2" +__version__ = "0.1.3" diff --git a/src/ansible_module/update_doc.py b/src/ansible_module/update_doc.py index 652c4e5..65da7a4 100755 --- a/src/ansible_module/update_doc.py +++ b/src/ansible_module/update_doc.py @@ -12,7 +12,7 @@ regex = re.compile("DOCUMENTATION *= *r?(?P\"{3}|'{3})(---)?.*?(?P=quote) def main(): try: - modules = moduledir.iterdir() + modules = list(moduledir.iterdir()) except: print("failed to find modules") return