diff src/plugins/plugin_xep_0050.py @ 1517:4eca4f5e21ec

plugin XEP-0050: minor parentheses removal
author Goffi <goffi@goffi.org>
date Fri, 25 Sep 2015 19:19:10 +0200
parents 5ddc4cf251fa
children 98f92a054539
line wrap: on
line diff
--- 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):