Commit 780a0862 authored by Jim Fulton's avatar Jim Fulton

Renamed Connection to ZEOConnection.

parent 8b16fc79
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
# #
############################################################################## ##############################################################################
__version__ = "$Revision: 1.20 $"[11:-2] __version__ = "$Revision: 1.21 $"[11:-2]
import asyncore, socket, string, sys, os import asyncore, socket, string, sys, os
from smac import SizedMessageAsyncConnection from smac import SizedMessageAsyncConnection
...@@ -183,7 +183,7 @@ class StorageServer(asyncore.dispatcher): ...@@ -183,7 +183,7 @@ class StorageServer(asyncore.dispatcher):
except socket.error: except socket.error:
sys.stderr.write('warning: accept failed\n') sys.stderr.write('warning: accept failed\n')
Connection(self, sock, addr) ZEOConnection(self, sock, addr)
def log_info(self, message, type='info'): def log_info(self, message, type='info'):
if type=='error': type=ERROR if type=='error': type=ERROR
...@@ -222,7 +222,7 @@ def find_global(module, name, ...@@ -222,7 +222,7 @@ def find_global(module, name,
raise StorageServerError, 'Unsafe global, %s.%s' % (module, name) raise StorageServerError, 'Unsafe global, %s.%s' % (module, name)
_noreturn=[] _noreturn=[]
class Connection(SizedMessageAsyncConnection): class ZEOConnection(SizedMessageAsyncConnection):
_transaction=None _transaction=None
__storage=__storage_id=None __storage=__storage_id=None
......
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