Merge "Fix typos: "recieve" to "receive""
This commit is contained in:
commit
a7b691571c
@ -42,7 +42,7 @@ class ExecDepStorlet(object):
|
||||
buf = in_files[0].read(16)
|
||||
if not buf:
|
||||
break
|
||||
self.logger.debug('Recieved %d bytes' % len(buf))
|
||||
self.logger.debug('Received %d bytes' % len(buf))
|
||||
out_files[0].write(buf)
|
||||
self.logger.debug('Complete')
|
||||
in_files[0].close()
|
||||
|
@ -37,7 +37,7 @@ class ExecQueryHeaderStorlet(object):
|
||||
buf = in_files[0].read(16)
|
||||
if not buf:
|
||||
break
|
||||
self.logger.debug('Recieved %d bytes' % len(buf))
|
||||
self.logger.debug('Received %d bytes' % len(buf))
|
||||
out_files[0].write(buf)
|
||||
self.logger.debug('Complete')
|
||||
in_files[0].close()
|
||||
|
@ -38,7 +38,7 @@ class MultiInputStorlet(object):
|
||||
buf = input_file.read(16)
|
||||
if not buf:
|
||||
break
|
||||
self.logger.debug('Recieved %d bytes' % len(buf))
|
||||
self.logger.debug('Received %d bytes' % len(buf))
|
||||
out_files[0].write(buf)
|
||||
self.logger.debug('Complete')
|
||||
for input_file in in_files:
|
||||
|
@ -44,7 +44,7 @@ class MultiInputMIMEStorlet(object):
|
||||
buf = input_file.read(16)
|
||||
if not buf:
|
||||
break
|
||||
self.logger.debug('Recieved %d bytes' % len(buf))
|
||||
self.logger.debug('Received %d bytes' % len(buf))
|
||||
out_files[0].write(buf)
|
||||
input_file.close()
|
||||
if in_files:
|
||||
|
@ -36,7 +36,7 @@ class SimpleStorlet(object):
|
||||
buf = in_files[0].read(16)
|
||||
if not buf:
|
||||
break
|
||||
self.logger.debug('Recieved %d bytes' % len(buf))
|
||||
self.logger.debug('Received %d bytes' % len(buf))
|
||||
self.logger.debug('Writing back %d bytes' % len(buf))
|
||||
out_files[0].write(buf)
|
||||
self.logger.debug('Complete')
|
||||
|
@ -73,7 +73,7 @@ Executing the cell will deploy the storlet into Swift.
|
||||
if not buf:
|
||||
break
|
||||
content += buf
|
||||
self.logger.debug('Recieved %d bytes' % len(content))
|
||||
self.logger.debug('Received %d bytes' % len(content))
|
||||
self.logger.debug('Writing back %d bytes' % len(content))
|
||||
out_files[0].write(content)
|
||||
self.logger.debug('Complete')
|
||||
|
@ -271,7 +271,7 @@ class Daemon(object):
|
||||
|
||||
def get_handler(self, command):
|
||||
"""
|
||||
Decide handler function correspoiding to the recieved command
|
||||
Decide handler function correspoiding to the received command
|
||||
|
||||
:param command: command
|
||||
:returns: handler function
|
||||
|
@ -551,7 +551,7 @@ class DaemonFactory(object):
|
||||
|
||||
def get_handler(self, command):
|
||||
"""
|
||||
Decide handler function correspoiding to the recieved command
|
||||
Decide handler function correspoiding to the received command
|
||||
|
||||
:param command: command
|
||||
:returns: handler function
|
||||
|
@ -248,7 +248,7 @@ class RunTimeSandbox(object):
|
||||
|
||||
def _parse_sandbox_factory_answer(self, str_answer):
|
||||
"""
|
||||
Parse answer string recieved from container side
|
||||
Parse answer string received from container side
|
||||
|
||||
:param str_answer: answer string
|
||||
:returns: (status, message)
|
||||
|
@ -236,7 +236,7 @@ class SBusExecuteDatagram(SBusDatagram):
|
||||
|
||||
def build_datagram_from_raw_message(fds, str_md, str_cmd_params):
|
||||
"""
|
||||
Build SBusDatagram from raw message recieved over sbus
|
||||
Build SBusDatagram from raw message received over sbus
|
||||
|
||||
:param fds: A list of file descriptors (integer) to pass with
|
||||
the command
|
||||
|
@ -66,7 +66,7 @@
|
||||
" if not buf:\n",
|
||||
" break\n",
|
||||
" content += buf\n",
|
||||
" self.logger.debug('Recieved %d bytes' % len(content))\n",
|
||||
" self.logger.debug('Received %d bytes' % len(content))\n",
|
||||
" self.logger.debug('Writing back %d bytes' % len(content))\n",
|
||||
" out_files[0].write(content)\n",
|
||||
" self.logger.debug('Complete')\n",
|
||||
@ -87,7 +87,7 @@
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"{u'x-object-meta-storlet-language': u'python', u'x-trans-id': u'tx39de631f32cf42d58f407-0058f89455', u'x-object-meta-storlet-main': u'test.TestStorlet', u'transfer-encoding': u'chunked', u'x-object-meta-storlet-interface-version': u'1.0', u'x-object-meta-storlet-object-metadata': u'no', u'x-object-meta-storlet_execution_path': u'/home/swift/test.TestStorlet', u'last-modified': u'Thu, 20 Apr 2017 10:58:29 GMT', u'etag': u'f4b96093d75348b4c55c2403f38f0700', u'x-timestamp': u'1492685908.66304', u'x-object-meta-color': u'red', u'date': u'Thu, 20 Apr 2017 10:58:29 GMT', u'x-openstack-request-id': u'tx39de631f32cf42d58f407-0058f89455', u'content-type': u'application/octet-stream', u'accept-ranges': u'bytes'}\n",
|
||||
"{u'x-object-meta-storlet-language': u'python', u'x-trans-id': u'tx39de631f32cf42d58f407-0058f89455', u'x-object-meta-storlet-main': u'test.TestStorlet', u'transfer-encoding': u'chunked', u'x-object-meta-storlet-interface-version': u'1.0', u'x-object-meta-storlet-object-metadata': u'no', u'x-object-meta-storlet_execution_path': u'/home/swift/test.TestStorlet', u'last-modified': u'Thu, 20 Apr 2017 10:58:29 GMT', u'etag': u'0f0f7e5d45e0c97e159dbee5eb569ae0', u'x-timestamp': u'1492685908.66304', u'x-object-meta-color': u'red', u'date': u'Thu, 20 Apr 2017 10:58:29 GMT', u'x-openstack-request-id': u'tx39de631f32cf42d58f407-0058f89455', u'content-type': u'application/octet-stream', u'accept-ranges': u'bytes'}\n",
|
||||
"\n",
|
||||
"class TestStorlet(object):\n",
|
||||
" def __init__(self, logger):\n",
|
||||
@ -113,7 +113,7 @@
|
||||
" if not buf:\n",
|
||||
" break\n",
|
||||
" content += buf\n",
|
||||
" self.logger.debug('Recieved %d bytes' % len(content))\n",
|
||||
" self.logger.debug('Received %d bytes' % len(content))\n",
|
||||
" self.logger.debug('Writing back %d bytes' % len(content))\n",
|
||||
" out_files[0].write(content)\n",
|
||||
" self.logger.debug('Complete')\n",
|
||||
@ -142,7 +142,7 @@
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"{u'content-length': u'0', u'x-storlet-generated-from-last-modified': u'Thu, 20 Apr 2017 10:58:29 GMT', u'x-storlet-generated-from-account': u'AUTH_6dbd182dfa9f4ad6ace88992683ee483', u'last-modified': u'Thu, 20 Apr 2017 10:58:32 GMT', u'etag': u'f4b96093d75348b4c55c2403f38f0700', u'x-trans-id': u'tx8cc66cd8cda643508bee7-0058f89457', u'date': u'Thu, 20 Apr 2017 10:58:31 GMT', u'content-type': u'text/html; charset=UTF-8', u'x-openstack-request-id': u'tx8cc66cd8cda643508bee7-0058f89457', u'x-storlet-generated-from': u'storlet/test.py'}\n",
|
||||
"{u'content-length': u'0', u'x-storlet-generated-from-last-modified': u'Thu, 20 Apr 2017 10:58:29 GMT', u'x-storlet-generated-from-account': u'AUTH_6dbd182dfa9f4ad6ace88992683ee483', u'last-modified': u'Thu, 20 Apr 2017 10:58:32 GMT', u'etag': u'0f0f7e5d45e0c97e159dbee5eb569ae0', u'x-trans-id': u'tx8cc66cd8cda643508bee7-0058f89457', u'date': u'Thu, 20 Apr 2017 10:58:31 GMT', u'content-type': u'text/html; charset=UTF-8', u'x-openstack-request-id': u'tx8cc66cd8cda643508bee7-0058f89457', u'x-storlet-generated-from': u'storlet/test.py'}\n",
|
||||
"201\n"
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user