diff --git a/tofu/__init__.py b/tofu/__init__.py index d4ba1573e..b2defb789 100644 --- a/tofu/__init__.py +++ b/tofu/__init__.py @@ -91,14 +91,14 @@ lsubout = ['tofu.{0}'.format(ss) for ss in lsubout] msg = "\nThe following subpackages are not available:" msg += "\n - " + "\n - ".join(lsubout) - msg += "\n => see tofu.dsub[] for details on error messages" + msg += "\n => see tofu.dsub[] for details." warnings.warn(msg) # ------------------------------------- # Add optional subpackages to __all__ # ------------------------------------- -__all__ = ['pathfile','utils','_plot','geom','data'] +__all__ = ['pathfile', 'utils', '_plot', 'geom', 'data'] for sub in dsub.keys(): if dsub[sub] is True: __all__.append(sub)