Mercurial > libervia-backend
comparison 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 |
comparison
equal
deleted
inserted
replaced
1516:afa0894dcc71 | 1517:4eca4f5e21ec |
---|---|
73 | 73 |
74 def __init__(self, error_const): | 74 def __init__(self, error_const): |
75 """ Error to be used from callback | 75 """ Error to be used from callback |
76 @param error_const: one of XEP_0050.ERROR | 76 @param error_const: one of XEP_0050.ERROR |
77 """ | 77 """ |
78 assert(error_const in XEP_0050.ERROR) | 78 assert error_const in XEP_0050.ERROR |
79 self.callback_error = error_const | 79 self.callback_error = error_const |
80 | 80 |
81 class AdHocCommand(XMPPHandler): | 81 class AdHocCommand(XMPPHandler): |
82 implements(iwokkel.IDisco) | 82 implements(iwokkel.IDisco) |
83 | 83 |