Merge "Fix two typos, "messsage" and "containg""

This commit is contained in:
Jenkins 2016-11-24 17:19:01 +00:00 committed by Gerrit Code Review
commit 3a858fe779
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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.