Remove redundant exception from Node Manager NETWORK_ERRORS.
authorBrett Smith <brett@curoverse.com>
Fri, 4 Dec 2015 19:37:06 +0000 (14:37 -0500)
committerBrett Smith <brett@curoverse.com>
Fri, 4 Dec 2015 21:45:49 +0000 (16:45 -0500)
services/nodemanager/arvnodeman/config.py

index 50c3ceb66f9f63bd70843505e57813a6cc102404..dd45165deaa1514789c42428dacbb4bcf862b5a5 100644 (file)
@@ -5,7 +5,6 @@ from __future__ import absolute_import, print_function
 import ConfigParser
 import importlib
 import logging
-import ssl
 import sys
 
 import arvados
@@ -13,10 +12,10 @@ import httplib2
 import pykka
 from apiclient import errors as apierror
 
-# IOError is the base class for socket.error and friends.
+# IOError is the base class for socket.error, ssl.SSLError, and friends.
 # It seems like it hits the sweet spot for operations we want to retry:
 # it's low-level, but unlikely to catch code bugs.
-NETWORK_ERRORS = (IOError, ssl.SSLError)
+NETWORK_ERRORS = (IOError,)
 ARVADOS_ERRORS = NETWORK_ERRORS + (apierror.Error,)
 
 actor_class = pykka.ThreadingActor