[Zodb-checkins] SVN: ZODB/trunk/src/ZEO/ - fixed typos
Christian Theune
ct at gocept.com
Fri Jun 8 11:57:37 EDT 2007
Log message for revision 76510:
- fixed typos
Changed:
U ZODB/trunk/src/ZEO/ClientStorage.py
U ZODB/trunk/src/ZEO/ClientStub.py
U ZODB/trunk/src/ZEO/zrpc/connection.py
-=-
Modified: ZODB/trunk/src/ZEO/ClientStorage.py
===================================================================
--- ZODB/trunk/src/ZEO/ClientStorage.py 2007-06-08 15:43:08 UTC (rev 76509)
+++ ZODB/trunk/src/ZEO/ClientStorage.py 2007-06-08 15:57:36 UTC (rev 76510)
@@ -940,7 +940,7 @@
return True
return False
- def recieveBlobStart(self, oid, serial):
+ def receiveBlobStart(self, oid, serial):
blob_filename = self.fshelper.getBlobFilename(oid, serial)
assert not os.path.exists(blob_filename)
assert os.path.exists(blob_filename+'.lock')
@@ -949,14 +949,14 @@
f = open(blob_filename, 'wb')
f.close()
- def recieveBlobChunk(self, oid, serial, chunk):
+ def receiveBlobChunk(self, oid, serial, chunk):
blob_filename = self.fshelper.getBlobFilename(oid, serial)+'.dl'
assert os.path.exists(blob_filename)
f = open(blob_filename, 'ab')
f.write(chunk)
f.close()
- def recieveBlobStop(self, oid, serial):
+ def receiveBlobStop(self, oid, serial):
blob_filename = self.fshelper.getBlobFilename(oid, serial)
os.rename(blob_filename+'.dl', blob_filename)
Modified: ZODB/trunk/src/ZEO/ClientStub.py
===================================================================
--- ZODB/trunk/src/ZEO/ClientStub.py 2007-06-08 15:43:08 UTC (rev 76509)
+++ ZODB/trunk/src/ZEO/ClientStub.py 2007-06-08 15:57:36 UTC (rev 76510)
@@ -64,14 +64,14 @@
def storeBlob(self, oid, serial, blobfilename):
def store():
- yield ('recieveBlobStart', (oid, serial))
+ yield ('receiveBlobStart', (oid, serial))
f = open(blobfilename, 'rb')
while 1:
chunk = f.read(59000)
if not chunk:
break
- yield ('recieveBlobChunk', (oid, serial, chunk, ))
+ yield ('receiveBlobChunk', (oid, serial, chunk, ))
f.close()
- yield ('recieveBlobStop', (oid, serial))
+ yield ('receiveBlobStop', (oid, serial))
self.rpc.callAsyncIterator(store())
Modified: ZODB/trunk/src/ZEO/zrpc/connection.py
===================================================================
--- ZODB/trunk/src/ZEO/zrpc/connection.py 2007-06-08 15:43:08 UTC (rev 76509)
+++ ZODB/trunk/src/ZEO/zrpc/connection.py 2007-06-08 15:57:36 UTC (rev 76510)
@@ -311,9 +311,9 @@
# storeBlobEnd
# storeBlobShared
# Added blob-support client methods:
- # recieveBlobStart
- # recieveBlobChunk
- # recieveBlobStop
+ # receiveBlobStart
+ # receiveBlobChunk
+ # receiveBlobStop
# XXX add blob methods
More information about the Zodb-checkins
mailing list