# HG changeset patch # User Goffi # Date 1443201550 -7200 # Node ID 4eca4f5e21ecb65ce8980f7d5381b119dbf9fa15 # Parent afa0894dcc71132a426e72d1eaa531947d051f30 plugin XEP-0050: minor parentheses removal diff -r afa0894dcc71 -r 4eca4f5e21ec src/plugins/plugin_xep_0050.py --- a/src/plugins/plugin_xep_0050.py Thu Sep 10 15:06:01 2015 +0200 +++ b/src/plugins/plugin_xep_0050.py Fri Sep 25 19:19:10 2015 +0200 @@ -75,7 +75,7 @@ """ 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):