Mercurial > libervia-backend
changeset 1517:4eca4f5e21ec
plugin XEP-0050: minor parentheses removal
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 25 Sep 2015 19:19:10 +0200 |
parents | afa0894dcc71 |
children | 8c071bc359c9 |
files | src/plugins/plugin_xep_0050.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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):