From 6e4962282eafcd7aeaf952618f65275ff14f6023 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gr=C3=BCning?= Date: Sun, 27 Dec 2020 02:42:14 +0100 Subject: [PATCH] its still called warn in the warning module --- lib/galaxy/tool_util/deps/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/tool_util/deps/commands.py b/lib/galaxy/tool_util/deps/commands.py index 8b7fc2c41df..7d79f18e225 100644 --- a/lib/galaxy/tool_util/deps/commands.py +++ b/lib/galaxy/tool_util/deps/commands.py @@ -13,4 +13,4 @@ from galaxy.util.commands import ( # noqa: F401 ) -warnings.warning("Importing galaxy.tool_util.deps.commands is deprecated, use galaxy.util.commands instead", DeprecationWarning) +warnings.warn("Importing galaxy.tool_util.deps.commands is deprecated, use galaxy.util.commands instead", DeprecationWarning)