Fix missing vars.
This commit is contained in:
parent
3e763e9e6c
commit
341de216a6
2 changed files with 3 additions and 2 deletions
|
|
@ -60,7 +60,7 @@ class HostSource(object):
|
|||
yield host
|
||||
|
||||
def hosts(self):
|
||||
if not source:
|
||||
if not self.source:
|
||||
return
|
||||
|
||||
if isinstance(self.source, str):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue