diff options
Diffstat (limited to 'distbuild/socketsrc.py')
-rw-r--r-- | distbuild/socketsrc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/distbuild/socketsrc.py b/distbuild/socketsrc.py index b2a21a16..daba1610 100644 --- a/distbuild/socketsrc.py +++ b/distbuild/socketsrc.py @@ -77,7 +77,7 @@ class ListeningSocketEventSource(EventSource): if self._accepting and self.sock.fileno() in r: try: conn, addr = self.sock.accept() - except socket.error, e: + except socket.error as e: return [SocketError(self.sock, e)] else: logging.info( |