From e2a878def164a9800eb3ce82182d8612a4b2b19b Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 23 May 2019 15:36:04 +0100 Subject: [PATCH] Remove `self` param of _validate --- modules/sasl/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/sasl/__init__.py b/modules/sasl/__init__.py index c11274dd..452f0c31 100644 --- a/modules/sasl/__init__.py +++ b/modules/sasl/__init__.py @@ -11,7 +11,7 @@ USERPASS_MECHANISMS = [ "PLAIN" ] -def _validate(self, s): +def _validate(s): mechanism, _, arguments = s.partition(" ") return {"mechanism": mechanism, "args": arguments}