Commit 23f35089 authored by Michal Horejsek's avatar Michal Horejsek

Fix of Python 2 support

parent fea5c302
=== 1.6 (2018-02-20) ===
* Fix of Python 2 support
=== 1.5 (2018-02-16) ===
* Fix errors when using unsupported channel
......
......@@ -50,7 +50,7 @@ class SSHConnection(SSHConnectionTwisted):
channel_type, rest = common.getNS(packet)
if channel_type != b'direct-tcpip':
return super().ssh_CHANNEL_OPEN(packet)
return SSHConnectionTwisted.ssh_CHANNEL_OPEN(self, packet)
senderChannel, _ = struct.unpack('>3L', rest[:12])
log.err('channel open failed, direct-tcpip is not allowed')
......
699cf9edb9a4d5e98fb6fd1518cdbb02 haas-proxy-1.5.tar.gz
c4b59ab0ccde5d1b1516df3148f3e193 haas-proxy-1.6.tar.gz
dc84e91af30e9f8f253b614e19f97c35 python-haas-proxy-1.5-1.noarch.rpm
f95b86db8d432640b5001468f8d6d0a2 python-haas-proxy-1.6-1.noarch.rpm
7d2235212356b3d75a5490b40c50ddb2 python-haas-proxy_1.5_all.deb
cfaaf0611bdcab1c349dc70e85bf6e3a python-haas-proxy_1.6_all.deb
3b3f441b904ebb4c34dda14adbf79df3 python3-haas-proxy-1.5-1.noarch.rpm
4e27a2cddfe08debbbdbd7adf36cbea2 python3-haas-proxy-1.6-1.noarch.rpm
c58443a37f30bb70b2fe9ebd27168b7a python3-haas-proxy_1.5_all.deb
e856ce7f113eda074ef704ceb96d0dab python3-haas-proxy_1.6_all.deb
......@@ -21,7 +21,7 @@ if sys.version_info < (3, 0):
setup(
name='haas-proxy',
version='1.5',
version='1.6',
packages=[
'haas_proxy',
'haas_proxy.twisted.plugins',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment