Remove self param of _validate

This commit is contained in:
jesopo 2019-05-23 15:36:04 +01:00
parent f4b702fe04
commit e2a878def1

View file

@ -11,7 +11,7 @@ USERPASS_MECHANISMS = [
"PLAIN"
]
def _validate(self, s):
def _validate(s):
mechanism, _, arguments = s.partition(" ")
return {"mechanism": mechanism, "args": arguments}