Fix missing vars.

This commit is contained in:
Darko Poljak 2016-12-07 18:39:43 +01:00
commit 341de216a6
2 changed files with 3 additions and 2 deletions

View file

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