summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/source/topics/tables.rst2
-rw-r--r--horizon/tabs/views.py2
-rw-r--r--horizon/test/helpers.py2
-rw-r--r--horizon/workflows/base.py4
-rw-r--r--openstack_dashboard/openstack/common/log.py2
-rw-r--r--openstack_dashboard/test/helpers.py4
6 files changed, 8 insertions, 8 deletions
diff --git a/doc/source/topics/tables.rst b/doc/source/topics/tables.rst
index af38cad79..bd00a8d23 100644
--- a/doc/source/topics/tables.rst
+++ b/doc/source/topics/tables.rst
@@ -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
diff --git a/horizon/tabs/views.py b/horizon/tabs/views.py
index 92b3b6cf4..8aca64bae 100644
--- a/horizon/tabs/views.py
+++ b/horizon/tabs/views.py
@@ -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]
diff --git a/horizon/test/helpers.py b/horizon/test/helpers.py
index aff98d756..92f01de52 100644
--- a/horizon/test/helpers.py
+++ b/horizon/test/helpers.py
@@ -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)))
diff --git a/horizon/workflows/base.py b/horizon/workflows/base.py
index 0c8c2004b..1bc93e333 100644
--- a/horizon/workflows/base.py
+++ b/horizon/workflows/base.py
@@ -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:
diff --git a/openstack_dashboard/openstack/common/log.py b/openstack_dashboard/openstack/common/log.py
index 6571eda9b..61ee92f9e 100644
--- a/openstack_dashboard/openstack/common/log.py
+++ b/openstack_dashboard/openstack/common/log.py
@@ -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
diff --git a/openstack_dashboard/test/helpers.py b/openstack_dashboard/test/helpers.py
index d73e346b6..0aefdadd4 100644
--- a/openstack_dashboard/test/helpers.py
+++ b/openstack_dashboard/test/helpers.py
@@ -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
"""