summaryrefslogtreecommitdiff
path: root/dev-python/twisted/files/twisted-21.2.0-int-from-bytes.patch
blob: ef9bd777ac7c7bcf9dc6a66f5d3fcdc7b861c1e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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