Fix "it's vs. its" typos

Change-Id: Ib7914a7c0b6636599526d05bfb8bc2bcf3a79744
Closes-Bug: #1252838
This commit is contained in:
Ana Krivokapic
2013-11-19 20:38:21 +01:00
parent 1dd9ec17ed
commit 084733b137
6 changed files with 8 additions and 8 deletions

View File

@@ -42,7 +42,7 @@ Connecting a table to a view
Once you've got your table set up the way you like it, the next step is to
wire it up to a view. To make this as easy as possible Horizon provides the
:class:`~horizon.tables.DataTableView` class-based view which can be subclassed
to display your table with just a couple lines of code. At it's simplest it
to display your table with just a couple lines of code. At its simplest, it
looks like this::
from horizon import tables

View File

@@ -137,7 +137,7 @@ class TabbedTableView(tables.MultiTableMixin, TabView):
return self.handle_tabbed_response(context["tab_group"], context)
def post(self, request, *args, **kwargs):
# Direct POST to it's appropriate tab
# Direct POST to its appropriate tab
# Note some table actions like filter do not have an 'action'
if 'action' in request.POST:
targetslug = request.POST['action'].split('__')[0]

View File

@@ -40,7 +40,7 @@ try:
from selenium.webdriver.firefox.webdriver import WebDriver # noqa
from selenium.webdriver.support import ui as selenium_ui
except ImportError as e:
# NOTE(saschpe): Several distribution can't ship selenium due to it's
# NOTE(saschpe): Several distribution can't ship selenium due to its
# non-free license. So they have to patch it out of test-requirements.txt
# Avoid import failure and force not running selenium tests.
LOG.warning("{0}, force WITH_SELENIUM=False".format(str(e)))

View File

@@ -198,7 +198,7 @@ class MembershipAction(Action):
class Step(object):
"""
A step is a wrapper around an action which defines it's context in a
A step is a wrapper around an action which defines its context in a
workflow. It knows about details such as:
* The workflow's context data (data passed from step to step).
@@ -504,7 +504,7 @@ class UpdateMembersStep(Step):
class Workflow(html.HTMLElement):
"""
A Workflow is a collection of Steps. It's interface is very
A Workflow is a collection of Steps. Its interface is very
straightforward, but it is responsible for handling some very
important tasks such as:

View File

@@ -278,7 +278,7 @@ class ContextAdapter(BaseLoggerAdapter):
class JSONFormatter(logging.Formatter):
def __init__(self, fmt=None, datefmt=None):
# NOTE(jkoelker) we ignore the fmt argument, but its still there
# NOTE(jkoelker) we ignore the fmt argument, but it's still there
# since logging.config.fileConfig passes it.
self.datefmt = datefmt

View File

@@ -192,7 +192,7 @@ class TestCase(horizon_helpers.TestCase):
def assertNoFormErrors(self, response, context_name="form"):
"""
Asserts that the response either does not contain a form in it's
Asserts that the response either does not contain a form in its
context, or that if it does, that form has no errors.
"""
context = getattr(response, "context", {})
@@ -205,7 +205,7 @@ class TestCase(horizon_helpers.TestCase):
def assertFormErrors(self, response, count=0, message=None,
context_name="form"):
"""
Asserts that the response does contain a form in it's
Asserts that the response does contain a form in its
context, and that form has errors, if count were given,
it must match the exact numbers of errors
"""