unnecessary purge of variables

This commit is contained in:
Dimitur Kirov 2006-02-07 08:46:00 +00:00
parent 85ba371288
commit e0d8b0c3dc
1 changed files with 0 additions and 3 deletions

View File

@ -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