Fix target_host vars in Code.

This commit is contained in:
Darko Poljak 2016-11-03 13:26:50 +01:00
commit 9268062de5
2 changed files with 2 additions and 3 deletions

View file

@ -100,9 +100,7 @@ class Code(object):
"""
# target_host is tuple (target_host, target_hostname, target_fqdn)
def __init__(self, target_host, local, remote):
self.target_host = target_host[0]
self.target_hostname = target_host[1]
self.target_fqdn = target_host[2]
self.target_host = target_host
self.local = local
self.remote = remote
self.env = {