diff --git a/freezerclient/shell.py b/freezerclient/shell.py index 07cb98d..82b1cff 100644 --- a/freezerclient/shell.py +++ b/freezerclient/shell.py @@ -32,7 +32,7 @@ log = logging.getLogger(__name__) class FreezerCommandManager(CommandManager): - """ All commands available for the shell are registered here """ + """All commands available for the shell are registered here""" SHELL_COMMANDS = { 'job-show': jobs.JobShow, 'job-list': jobs.JobList, @@ -206,7 +206,7 @@ class FreezerShell(App): @property def client(self): - """ Build a client object to communicate with the API + """Build a client object to communicate with the API :return: freezerclient object """ opts = { diff --git a/freezerclient/v1/client.py b/freezerclient/v1/client.py index 5f32157..995f5dd 100644 --- a/freezerclient/v1/client.py +++ b/freezerclient/v1/client.py @@ -31,7 +31,7 @@ FREEZER_SERVICE_TYPE = 'backup' def guess_auth_version(opts): - """ Guess keystone version to connect to""" + """Guess keystone version to connect to""" if opts.os_identity_api_version == '3': return '3' elif opts.os_identity_api_version == '2.0': @@ -171,7 +171,7 @@ class Client(object): socket.gethostname()) def validate(self): - """ Validate that the client objects gets created correctly. + """Validate that the client objects gets created correctly. :return: bool """ if self.opts.os_auth_url is None: