diff --git a/paramiko/transport.py b/paramiko/transport.py index 5884f54..8174a4c 100644 --- a/paramiko/transport.py +++ b/paramiko/transport.py @@ -2020,8 +2020,8 @@ class Transport (threading.Thread): initial_window_size = m.get_int() max_packet_size = m.get_int() reject = False - if (kind == 'auth-agent@openssh.com') and (self._forward_agent_handler is not None): - self._log(DEBUG, 'Incoming forward agent connection') + if (kind == 'auth-agent@openssh.com') and (self._forward_agent_handler is not None): + self._log(DEBUG, 'Incoming forward agent connection') self.lock.acquire() try: my_chanid = self._next_channel() @@ -2099,7 +2099,7 @@ class Transport (threading.Thread): m.add_int(self.max_packet_size) self._send_message(m) self._log(INFO, 'Secsh channel %d (%s) opened.', my_chanid, kind) - if kind == 'auth-agent@openssh.com': + if kind == 'auth-agent@openssh.com': self._forward_agent_handler(chan) elif kind == 'x11': self._x11_handler(chan, (origin_addr, origin_port)) diff --git a/setup.py b/setup.py index 50363cc..efc061d 100644 --- a/setup.py +++ b/setup.py @@ -45,8 +45,8 @@ except ImportError: kw = {} if sys.platform == 'darwin': - import setup_helper - setup_helper.install_custom_make_tarball() + import setup_helper + setup_helper.install_custom_make_tarball() setup(name = "paramiko",