[Zodb-checkins] CVS: Packages/ZEO - ClientStorage.py:1.26.4.10

jeremy@digicool.com jeremy@digicool.com
Fri, 20 Apr 2001 09:56:11 -0400 (EDT)


Update of /cvs-repository/Packages/ZEO
In directory korak:/tmp/cvs-serv13734

Modified Files:
      Tag: ZEO-ZRPC-Dev
	ClientStorage.py 
Log Message:
Reorganize imports and remove some logging calls



--- Updated File ClientStorage.py in package Packages/ZEO --
--- ClientStorage.py	2001/04/20 13:51:24	1.26.4.9
+++ ClientStorage.py	2001/04/20 13:56:10	1.26.4.10
@@ -88,15 +88,24 @@
 """
 __version__='$Revision$'[11:-2]
 
-import struct, time, os, socket, string, Sync, ClientCache
-import tempfile, ExtensionClass, thread
+import cPickle
+import os
+import socket
+import string
+import struct
+import sys
+import tempfile
+import thread
+import time
+from types import TupleType, StringType
+from struct import pack, unpack
+
+import ExtensionClass, Sync
+import ClientCache
 import zrpc2
 import ServerStub
 from TransactionBuffer import TransactionBuffer
 
-import cPickle
-
-from struct import pack, unpack
 from ZODB import POSException, BaseStorage
 from ZODB.TimeStamp import TimeStamp
 from zLOG import LOG, PROBLEM, INFO, BLATHER
@@ -106,8 +115,6 @@
 except ImportError:
     ResolvedSerial = 'rs'
 
-import sys
-from types import TupleType, StringType
 
 class ClientStorageError(POSException.StorageError):
     """An error occured in the ZEO Client Storage"""
@@ -342,8 +349,6 @@
             r = self._serials[:l]
             del self._serials[:l]
             for oid, s in r:
-                LOG("ClientStorage", BLATHER,
-                    "serial: %s %s" % (repr(oid), repr(s)))
                 self._seriald[oid] = s
             return r
 
@@ -518,7 +523,6 @@
         self.commit_lock_release()
 
     def serialno(self, arg):
-        LOG("ClientStorage", BLATHER, "serialno(%s)" % repr(arg))
         self._serials.append(arg)
 
     def info(self, dict):