diff --git a/install_libs.sh b/install_libs.sh index c5879106..be819054 100755 --- a/install_libs.sh +++ b/install_libs.sh @@ -3,7 +3,7 @@ # Install required libraries written in c and java # # NOTE: The libraries are currently installed under /usr/lib/storlets -# so you may need root priviledge to execute this script +# so you may need root privilege to execute this script # build scripts cd scripts diff --git a/storlets/agent/common/server.py b/storlets/agent/common/server.py index 88ca781c..5a1b147e 100644 --- a/storlets/agent/common/server.py +++ b/storlets/agent/common/server.py @@ -53,7 +53,7 @@ CommandFailure = partial(CommandResponse, False) def command_handler(func): """ - Decorator for handler methods called accoring to given sbus command + Decorator for handler methods called according to given sbus command """ func.is_command_handler = True return func diff --git a/storlets/swift_middleware/handlers/base.py b/storlets/swift_middleware/handlers/base.py index 84bf55d0..1889a986 100644 --- a/storlets/swift_middleware/handlers/base.py +++ b/storlets/swift_middleware/handlers/base.py @@ -416,7 +416,7 @@ class StorletBaseHandler(object): Apply storlet on response :param resp: swob.Response instance - :return: processed reponse + :return: processed response """ sresp = self._call_gateway(resp) diff --git a/storlets/swift_middleware/handlers/proxy.py b/storlets/swift_middleware/handlers/proxy.py index 46b3f44d..9f52f835 100644 --- a/storlets/swift_middleware/handlers/proxy.py +++ b/storlets/swift_middleware/handlers/proxy.py @@ -540,7 +540,7 @@ class StorletProxyHandler(StorletBaseHandler): agent=self.agent) sub_resp = sub_req.get_response(self.app) if sub_resp.status_int != 204: - self.logger.info("Failed to retreive container metadata") + self.logger.info("Failed to retrieve container metadata") return HTTPUnauthorized(('Unauthorized to get or modify ' 'the container ACL')) diff --git a/storlets/tools/extensions/ipython.py b/storlets/tools/extensions/ipython.py index 5ad161a6..04b58d12 100644 --- a/storlets/tools/extensions/ipython.py +++ b/storlets/tools/extensions/ipython.py @@ -260,7 +260,7 @@ class StorletMagics(Magics): '-o', type=unicode_type, help=('A name of an output variable to hold the invocation result ' 'The output variable is a dictionary with the fields: ' - 'status, headers, content_iter holding the reponse status, ' + 'status, headers, content_iter holding the response status, ' 'headers, and body iterator accordingly') ) @line_magic @@ -326,7 +326,7 @@ class StorletMagics(Magics): '-o', type=unicode_type, help=('A name of an output variable to hold the invocation result ' 'The output variable is a dictionary with the fields: ' - 'status, headers, holding the reponse status and ' + 'status, headers, holding the response status and ' 'headers accordingly') ) @line_magic @@ -397,7 +397,7 @@ class StorletMagics(Magics): '-o', type=unicode_type, help=('A name of an output variable to hold the invocation result ' 'The output variable is a dictionary with the fields: ' - 'status, headers, holding the reponse status and ' + 'status, headers, holding the response status and ' 'headers accordingly') ) @line_magic diff --git a/tests/unit/gateway/gateways/docker/test_gateway.py b/tests/unit/gateway/gateways/docker/test_gateway.py index 7fc58f96..a449f59d 100644 --- a/tests/unit/gateway/gateways/docker/test_gateway.py +++ b/tests/unit/gateway/gateways/docker/test_gateway.py @@ -179,7 +179,7 @@ class TestStorletDockerGateway(unittest.TestCase): self.obj = 'object' self.sobj = 'storlet-1.0.jar' - # TODO(kota_): shoudl be 'storlet-internal-client.conf' actually + # TODO(kota_): should be 'storlet-internal-client.conf' actually ic_conf_path = os.path.join(self.tempdir, 'storlet-proxy-server.conf') with open(ic_conf_path, 'w') as f: