summaryrefslogtreecommitdiff
path: root/paramiko/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'paramiko/util.py')
-rw-r--r--paramiko/util.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/paramiko/util.py b/paramiko/util.py
index f6125eb1..76941ff4 100644
--- a/paramiko/util.py
+++ b/paramiko/util.py
@@ -21,7 +21,6 @@ Useful functions used by the rest of paramiko.
"""
-import errno
import sys
import struct
import traceback
@@ -273,16 +272,6 @@ def get_logger(name):
return logger
-def retry_on_signal(function):
- """Retries function until it doesn't raise an EINTR error"""
- while True:
- try:
- return function()
- except EnvironmentError as e:
- if e.errno != errno.EINTR:
- raise
-
-
def constant_time_bytes_eq(a, b):
if len(a) != len(b):
return False