From 44e8534f08c6a204f50b46f0513e356d385acae2 Mon Sep 17 00:00:00 2001 From: Ed Slavich Date: Wed, 12 May 2021 12:10:11 -0400 Subject: [PATCH] Fix warning text --- asdf/asdf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asdf/asdf.py b/asdf/asdf.py index ec005cf8d..322c3a841 100644 --- a/asdf/asdf.py +++ b/asdf/asdf.py @@ -1614,7 +1614,7 @@ def _handle_deprecated_kwargs(config, kwargs): config_property, func = _DEPRECATED_KWARG_TO_CONFIG_PROPERTY[key] warnings.warn( f"The '{key}' argument is deprecated, set " - "asdf.get_config().{config_property} instead.", + f"asdf.get_config().{config_property} instead.", AsdfDeprecationWarning ) setattr(config, config_property, func(value))