Commit 57b2a116 authored by Martijn Pieters's avatar Martijn Pieters

Add missing import and change exception raising style.

parent ecae229b
......@@ -15,6 +15,7 @@
import struct
import time
import socket
from ZEO.StorageServer import StorageServer, log
from ZEO.zrpc.server import ManagedServerConnection
......@@ -59,7 +60,7 @@ class DebugManagedServerConnection(ManagedServerConnection):
self.handle_close()
return ''
else:
raise socket.error, why
raise socket.error(why)
class DebugServer(StorageServer):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment