You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/twisted/files/twisted-21.2.0-int-from-byt...

15 lines
485 B

diff --git a/src/twisted/conch/ssh/common.py b/src/twisted/conch/ssh/common.py
index 3e4f8cdc7..ee3d63143 100644
--- a/src/twisted/conch/ssh/common.py
+++ b/src/twisted/conch/ssh/common.py
@@ -11,7 +11,8 @@ Maintainer: Paul Swartz
import struct
-from cryptography.utils import int_from_bytes, int_to_bytes
+from cryptography.utils import int_to_bytes
+int_from_bytes = int.from_bytes
from twisted.python.deprecate import deprecated
from twisted.python.versions import Version