summaryrefslogtreecommitdiff
path: root/openstackclient
diff options
context:
space:
mode:
authorjeckxie <xiexiaozhe@inspur.com>2016-12-14 14:39:24 +0800
committerjeckxie <xiexiaozhe@inspur.com>2016-12-14 14:39:24 +0800
commit74360e00f51bd6be275ae5e7e5fc0e1ee765b54f (patch)
treeef0083f0e937575f4e1114535bf8cd47aba8702d /openstackclient
parent112afb752b3856658c93d4f6da2abeb68d192dfc (diff)
downloadpython-openstackclient-74360e00f51bd6be275ae5e7e5fc0e1ee765b54f.tar.gz
[TrivialFix] Fix typo error
Change-Id: Iaba9ba22de044b34b4b77f81bcdccda13af81405
Diffstat (limited to 'openstackclient')
-rw-r--r--openstackclient/network/v2/port.py2
-rw-r--r--openstackclient/tests/unit/test_shell.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/openstackclient/network/v2/port.py b/openstackclient/network/v2/port.py
index bce3e2d3..b660e698 100644
--- a/openstackclient/network/v2/port.py
+++ b/openstackclient/network/v2/port.py
@@ -666,7 +666,7 @@ class UnsetPort(command.Command):
def take_action(self, parsed_args):
client = self.app.client_manager.network
obj = client.find_port(parsed_args.port, ignore_missing=False)
- # SDK ignores update() if it recieves a modified obj and attrs
+ # SDK ignores update() if it receives a modified obj and attrs
# To handle the same tmp_obj is created in all take_action of
# Unset* classes
tmp_fixed_ips = copy.deepcopy(obj.fixed_ips)
diff --git a/openstackclient/tests/unit/test_shell.py b/openstackclient/tests/unit/test_shell.py
index 3d91da9b..b9fac684 100644
--- a/openstackclient/tests/unit/test_shell.py
+++ b/openstackclient/tests/unit/test_shell.py
@@ -422,7 +422,7 @@ class TestShellArgV(TestShell):
Use the argv supplied by the test runner so we get actual Python
runtime behaviour; we only need to check the type of argv[0]
- which will alwyas be present.
+ which will always be present.
"""
with mock.patch(