diff options
| author | Nam Nguyen Hoai <namnh@vn.fujitsu.com> | 2016-09-30 11:11:15 +0700 |
|---|---|---|
| committer | Nam Nguyen Hoai <namnh@vn.fujitsu.com> | 2016-11-22 08:56:33 +0700 |
| commit | 41cf45f126b4ebaac107b2602e658bbd27e0acc7 (patch) | |
| tree | 98281cba422c9aaaf3bbf593c2692e00930907ef /ironic_python_agent | |
| parent | f9236682f7bb7048e607bd9235cf14d2088806ff (diff) | |
| download | ironic-python-agent-41cf45f126b4ebaac107b2602e658bbd27e0acc7.tar.gz | |
Fix two typos, "messsage" and "containg"
This patch set updated two wrong words:
+ In error.py file, it should be changed from "messsage" to "message"
+ In utils.py file, it should be changed from "containg" to "contaning"
Change-Id: I5ad121ec58ccc6e5f3cc499eca50d16e691f217e
Diffstat (limited to 'ironic_python_agent')
| -rw-r--r-- | ironic_python_agent/errors.py | 2 | ||||
| -rw-r--r-- | ironic_python_agent/utils.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ironic_python_agent/errors.py b/ironic_python_agent/errors.py index cb0b0afb..5536e0fd 100644 --- a/ironic_python_agent/errors.py +++ b/ironic_python_agent/errors.py @@ -70,7 +70,7 @@ class CommandExecutionError(RESTError): class InvalidCommandError(InvalidContentError): """Error which is raised when an unknown command is issued.""" - messsage = 'Invalid command' + message = 'Invalid command' def __init__(self, details): super(InvalidCommandError, self).__init__(details) diff --git a/ironic_python_agent/utils.py b/ironic_python_agent/utils.py index 421af0b1..e2ccb681 100644 --- a/ironic_python_agent/utils.py +++ b/ironic_python_agent/utils.py @@ -361,7 +361,7 @@ def get_journalctl_output(lines=None, units=None): def gzip_and_b64encode(io_dict=None, file_list=None): """Gzip and base64 encode files and BytesIO buffers. - :param io_dict: A dictionary containg whose the keys are the file + :param io_dict: A dictionary containing whose the keys are the file names and the value a BytesIO object. :param file_list: A list of file path. :returns: A gzipped and base64 encoded string. |
