Skip to content

Commit

Permalink
Fix warning text
Browse files Browse the repository at this point in the history
  • Loading branch information
Ed Slavich committed May 12, 2021
1 parent 97e0611 commit 44e8534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asdf/asdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 44e8534

Please sign in to comment.