Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/xmpp/commands.py')
-rw-r--r--src/common/xmpp/commands.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/xmpp/commands.py b/src/common/xmpp/commands.py
index 190e8f96d..6e6d3e92e 100644
--- a/src/common/xmpp/commands.py
+++ b/src/common/xmpp/commands.py
@@ -251,13 +251,13 @@ class Command_Handler_Prototype(PlugIn):
# New session
self.initial[action](conn,request)
- def _DiscoHandler(self,conn,request,type):
+ def _DiscoHandler(self,conn,request,type_):
"""The handler for discovery events"""
- if type == 'list':
+ if type_ == 'list':
return (request.getTo(),self.name,self.description)
- elif type == 'items':
+ elif type_ == 'items':
return []
- elif type == 'info':
+ elif type_ == 'info':
return self.discoinfo
class TestCommand(Command_Handler_Prototype):