summaryrefslogtreecommitdiff
path: root/paramiko/transport.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2023-01-09 19:32:57 -0500
committerJeff Forcier <jeff@bitprophet.org>2023-01-09 23:26:00 -0500
commit3e87f05b57213cc539670f85ac7ea8ccddb9e5c4 (patch)
tree5f3442839198de82f1376dbc53a0916856a8ebb9 /paramiko/transport.py
parent768f3e238b26127cee5cf5d4d18a17a40c349c9e (diff)
downloadparamiko-3e87f05b57213cc539670f85ac7ea8ccddb9e5c4.tar.gz
Migrate some byte related helpers around
I feel like we should be able to just nuke byte_chr and friends at this point, but it's not entirely obvious, so let's rock that boat later.
Diffstat (limited to 'paramiko/transport.py')
-rw-r--r--paramiko/transport.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/paramiko/transport.py b/paramiko/transport.py
index 68cc195d..930ba4d4 100644
--- a/paramiko/transport.py
+++ b/paramiko/transport.py
@@ -86,6 +86,7 @@ from paramiko.common import (
MSG_NAMES,
MSG_EXT_INFO,
cMSG_EXT_INFO,
+ byte_ord,
)
from paramiko.compress import ZlibCompressor, ZlibDecompressor
from paramiko.dsskey import DSSKey
@@ -100,7 +101,7 @@ from paramiko.kex_gss import KexGSSGex, KexGSSGroup1, KexGSSGroup14
from paramiko.message import Message
from paramiko.packet import Packetizer, NeedRekeyException
from paramiko.primes import ModulusPack
-from paramiko.py3compat import string_types, long, byte_ord, b, input, PY2
+from paramiko.py3compat import string_types, long, b, input, PY2
from paramiko.rsakey import RSAKey
from paramiko.ecdsakey import ECDSAKey
from paramiko.server import ServerInterface