From 74360e00f51bd6be275ae5e7e5fc0e1ee765b54f Mon Sep 17 00:00:00 2001 From: jeckxie Date: Wed, 14 Dec 2016 14:39:24 +0800 Subject: [TrivialFix] Fix typo error Change-Id: Iaba9ba22de044b34b4b77f81bcdccda13af81405 --- openstackclient/network/v2/port.py | 2 +- openstackclient/tests/unit/test_shell.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'openstackclient') 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( -- cgit v1.2.1