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/nslookup.py')
-rw-r--r--src/common/nslookup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/nslookup.py b/src/common/nslookup.py
index 9640d1dd8..e6dec5c76 100644
--- a/src/common/nslookup.py
+++ b/src/common/nslookup.py
@@ -280,11 +280,11 @@ class IdleCommand(IdleObject):
self._return_result()
class NsLookup(IdleCommand):
- def __init__(self, on_result, host='_xmpp-client', type = 'srv'):
+ def __init__(self, on_result, host='_xmpp-client', type_ = 'srv'):
IdleCommand.__init__(self, on_result)
self.commandtimeout = 10
self.host = host.lower()
- self.type = type.lower()
+ self.type = type_.lower()
if not host_pattern.match(self.host):
# invalid host name
print >> sys.stderr, 'Invalid host: %s' % self.host