summaryrefslogtreecommitdiff
path: root/paramiko/file.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2023-01-09 21:42:27 -0500
committerJeff Forcier <jeff@bitprophet.org>2023-01-09 23:26:00 -0500
commit76675c7c471c14ec0b3288cec2beaf400b757480 (patch)
treec9625e8e31c6f42d947b0aa01b37df4d82803d30 /paramiko/file.py
parent74eae059e2ae71044e31a580bc4ede1057c0053b (diff)
downloadparamiko-76675c7c471c14ec0b3288cec2beaf400b757480.tar.gz
Update BytesIO
Diffstat (limited to 'paramiko/file.py')
-rw-r--r--paramiko/file.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/paramiko/file.py b/paramiko/file.py
index 91579f60..eeb2b8c6 100644
--- a/paramiko/file.py
+++ b/paramiko/file.py
@@ -15,6 +15,8 @@
# You should have received a copy of the GNU Lesser General Public License
# along with Paramiko; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+from io import BytesIO
+
from paramiko.common import (
linefeed_byte_value,
crlf,
@@ -22,7 +24,7 @@ from paramiko.common import (
linefeed_byte,
cr_byte_value,
)
-from paramiko.py3compat import BytesIO, u, bytes_types, text_type
+from paramiko.py3compat import u, bytes_types, text_type
from paramiko.util import ClosingContextManager