exclude lookup_terms from config errors (#41740)

* exclude lookup_terms from config errors
* moved direct
This commit is contained in:
Brian Coca 2018-06-21 17:50:24 -04:00 committed by GitHub
parent 06b73ff8f1
commit 0102e42272
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 67 additions and 71 deletions

View file

@ -69,7 +69,6 @@ class LookupModule(LookupBase):
self._templar.set_available_variables(variables)
myvars = getattr(self._templar, '_available_variables', {})
self.set_option('_terms', terms)
self.set_options(direct=kwargs)
default = self.get_option('default')