Changeset - 261dffa460bb
[Not reviewed]
0 1 0
Lance Edgar (lance) - 2 months ago 2024-08-16 10:09:02
lance@edbob.org
fix: fix wrong name in deprecation warning
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rattail/config.py
Show inline comments
 
@@ -557,7 +557,7 @@ class ConfigExtension(WuttaConfigExtension):
 
    def __init__(self, *args, **kwargs):
 
        super().__init__(*args, **kwargs)
 
        warnings.warn(f"rattail.config.ConfigExtension (for '{self.key}') is deprecated; "
 
                      "please use wuttjamaican.conf.ConfigExtension instead",
 
                      "please use wuttjamaican.conf.WuttaConfigExtension instead",
 
                      DeprecationWarning, stacklevel=2)
 

	
 

	
0 comments (0 inline, 0 general)