From 2d1154a94ff7dc095bb0d2e1bf97c989edae60ff Mon Sep 17 00:00:00 2001 From: Laura Mendoza Date: Thu, 21 Nov 2019 11:09:30 +0100 Subject: [PATCH] [warning] took out the word error from warning --- tofu/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)