From ebf0edb17839f006f63d317b23a6b60d96a37daa Mon Sep 17 00:00:00 2001 From: Goffi Date: Fri, 25 Sep 2015 19:19:10 +0200 Subject: [PATCH] plugin XEP-0050: minor parentheses removal --- src/plugins/plugin_xep_0050.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/plugin_xep_0050.py b/src/plugins/plugin_xep_0050.py index 55848417..5f83f16d 100644 --- a/src/plugins/plugin_xep_0050.py +++ b/src/plugins/plugin_xep_0050.py @@ -75,7 +75,7 @@ class AdHocError(Exception): """ Error to be used from callback @param error_const: one of XEP_0050.ERROR """ - assert(error_const in XEP_0050.ERROR) + assert error_const in XEP_0050.ERROR self.callback_error = error_const class AdHocCommand(XMPPHandler):