unnecessary purge of variables
This commit is contained in:
parent
85ba371288
commit
e0d8b0c3dc
1 changed files with 0 additions and 3 deletions
|
@ -277,13 +277,10 @@ class NsLookup(IdleCommand):
|
||||||
if not host_pattern.match(self.host):
|
if not host_pattern.match(self.host):
|
||||||
# invalid host name
|
# invalid host name
|
||||||
print >> sys.stderr, 'Invalid host: %s' % self.host
|
print >> sys.stderr, 'Invalid host: %s' % self.host
|
||||||
self.host = None
|
|
||||||
self.canexecute = False
|
self.canexecute = False
|
||||||
return
|
return
|
||||||
if not ns_type_pattern.match(self.type):
|
if not ns_type_pattern.match(self.type):
|
||||||
print >> sys.stderr, 'Invalid querytype: %s' % self.type
|
print >> sys.stderr, 'Invalid querytype: %s' % self.type
|
||||||
self.type = None
|
|
||||||
self.host = None
|
|
||||||
self.canexecute = False
|
self.canexecute = False
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue