Fix some typos in doc and comments

Change-Id: I7afe1d5851878fa392c46c7654e984e73de4246c
This commit is contained in:
ChangBo Guo(gcb) 2016-10-04 06:47:29 +08:00
parent 41f3dd6920
commit dceb26e485
3 changed files with 3 additions and 3 deletions

View File

@ -223,7 +223,7 @@ pylint will encouter in the gate.
Pre-commit checklist
====================
Before commiting code to Gerrit for review, please at least do the
Before committing code to Gerrit for review, please at least do the
following on your development system and ensure that they pass.
.. code-block:: bash

View File

@ -400,7 +400,7 @@ class Manager(periodic_task.PeriodicTasks):
return {}
def post_upgrade(self, context, upgrade_info):
"""Recovers the guest after the image is upgraded using infomation
"""Recovers the guest after the image is upgraded using information
from the pre_upgrade step
"""
pass

View File

@ -57,7 +57,7 @@ class DB2Backup(base.BackupRunner):
dbname})
size = size + int(out[0])
except exception.ProcessExecutionError:
LOG.exception(_("An error occured while trying to "
LOG.exception(_("An error occurred while trying to "
"estimate backup size"))
LOG.debug("Estimated size for databases: " + str(size))
return size