From ff6d961922c0dd2f33993d79ed82ec444ddc60ca Mon Sep 17 00:00:00 2001 From: James Lu Date: Thu, 23 Mar 2017 22:41:12 -0700 Subject: [PATCH] Protocol: add missing self in hasCap() --- classes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes.py b/classes.py index 8fd300d..06df1f1 100644 --- a/classes.py +++ b/classes.py @@ -1409,7 +1409,7 @@ class Protocol(): return real_args - def hasCap(capab): + def hasCap(self, capab): """ Returns whether this protocol module instance has the requested capability. """