unnecessary purge of variables
This commit is contained in:
parent
85ba371288
commit
e0d8b0c3dc
|
@ -277,13 +277,10 @@ class NsLookup(IdleCommand):
|
|||
if not host_pattern.match(self.host):
|
||||
# invalid host name
|
||||
print >> sys.stderr, 'Invalid host: %s' % self.host
|
||||
self.host = None
|
||||
self.canexecute = False
|
||||
return
|
||||
if not ns_type_pattern.match(self.type):
|
||||
print >> sys.stderr, 'Invalid querytype: %s' % self.type
|
||||
self.type = None
|
||||
self.host = None
|
||||
self.canexecute = False
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in New Issue