diff --git a/toscaparser/extensions/exttools.py b/toscaparser/extensions/exttools.py index 963b958b..53104220 100644 --- a/toscaparser/extensions/exttools.py +++ b/toscaparser/extensions/exttools.py @@ -36,7 +36,7 @@ class ExtTools(object): extdirs = [e for e in os.listdir(abs_path) if not e.startswith('tests') and - not e.endswith('.pyc') and not e.endswith('.py')] + os.path.isdir(os.path.join(abs_path, e))] for e in extdirs: log.info(e)