mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 19:33:55 +00:00
11 lines
259 B
Python
11 lines
259 B
Python
#!/usr/bin/env python
|
|
"""Add all of the modules in the current directory to __all__"""
|
|
import os
|
|
|
|
__all__ = []
|
|
|
|
for module in os.listdir(os.path.dirname(__file__)):
|
|
if module != '__init__.py' and module[-3:] == '.py':
|
|
__all__.append(module[:-3])
|
|
|