Remove self
param of _validate
This commit is contained in:
parent
f4b702fe04
commit
e2a878def1
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ USERPASS_MECHANISMS = [
|
|||
"PLAIN"
|
||||
]
|
||||
|
||||
def _validate(self, s):
|
||||
def _validate(s):
|
||||
mechanism, _, arguments = s.partition(" ")
|
||||
return {"mechanism": mechanism, "args": arguments}
|
||||
|
||||
|
|
Loading…
Reference in a new issue