1
0

Merge pull request #2367 from spamdaemon/patch-1

Fixed a syntax error with python 3.6
This commit is contained in:
ThomasV
2017-04-22 06:59:29 +02:00
committed by GitHub

View File

@@ -534,7 +534,7 @@ class SocketPipe:
raise timeout
except ssl.SSLError:
raise timeout
except socket.error, err:
except socket.error as err:
if err.errno == 60:
raise timeout
elif err.errno in [11, 35, 10035]: