Changeset - f3422cfd9707
[Not reviewed]
0 1 0
Lance Edgar (lance) - 15 days ago 2024-10-22 15:05:05
lance@edbob.org
fix: fix method call signature
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rattail/auth.py
Show inline comments
 
@@ -259,13 +259,13 @@ class RattailAuthHandler(base.AuthHandler, MergeMixin):
 

	
 
    def generate_unique_username(self, session, **kwargs):
 
        """ """
 
        warnings.warn("generate_unique_username() is deprecated; "
 
                      "please use make_unique_username() instead",
 
                      DeprecationWarning, stacklevel=2)
 
        return self.make_unique_username(*args, **kwargs)
 
        return self.make_unique_username(session, **kwargs)
 

	
 
    def generate_username(self, *args, **kwargs): # pragma: no cover
 
        """ """
 
        warnings.warn("method is deprecated, please use "
 
                      "generate_preferred_username() method instead",
 
                      DeprecationWarning, stacklevel=2)
0 comments (0 inline, 0 general)