Fix missing vars.

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

View file

@ -200,7 +200,8 @@ class Config(object):
log = logging.getLogger(host)
try:
remote_exec, remote_copy = cls._resolve_remote_cmds(host_base_path)
remote_exec, remote_copy = cls._resolve_remote_cmds(
args, host_base_path)
log.debug("remote_exec for host \"{}\": {}".format(
host, remote_exec))
log.debug("remote_copy for host \"{}\": {}".format(

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