SVN: ZODB/branches/jim-thready-zeo/src/ZEO/StorageServer.py Remove old storeBlob.

Jim Fulton <[email protected]>
Newsgroups gmane.comp.python.zope.zodb.cvs
Message-ID <20090911134022.C0A8494186__49599.2979537279$1252676440$gmane$org@cvs.zope.org>
Log message for revision 103735:
  Remove old storeBlob.
  

Changed:
  U   ZODB/branches/jim-thready-zeo/src/ZEO/StorageServer.py

-=-
Modified: ZODB/branches/jim-thready-zeo/src/ZEO/StorageServer.py
===================================================================
--- ZODB/branches/jim-thready-zeo/src/ZEO/StorageServer.py	2009-09-11 10:46:17 UTC (rev 103734)
+++ ZODB/branches/jim-thready-zeo/src/ZEO/StorageServer.py	2009-09-11 13:40:21 UTC (rev 103735)
@@ -1349,25 +1349,6 @@
     def info(self, arg):
         self.rpc.callAsync('info', arg)
 
-# original:
-#     def storeBlob(self, oid, serial, blobfilename):
-
-#         # This "returns" after the data are sent because the result
-#         # message will be added to the output queue after the iterator.
-
-#         def store():
-#             yield ('receiveBlobStart', (oid, serial))
-#             f = open(blobfilename, 'rb')
-#             while 1:
-#                 chunk = f.read(59000)
-#                 if not chunk:
-#                     break
-#                 yield ('receiveBlobChunk', (oid, serial, chunk, ))
-#             f.close()
-#             yield ('receiveBlobStop', (oid, serial))
-
-#         self.rpc.callAsyncIterator(store())
-
     @ZEO.thready.delayed
     def storeBlob(self, oid, serial, blobfilename):
         self.rpc.callAsync('receiveBlobStart', oid, serial)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.