summaryrefslogtreecommitdiff
path: root/heat_cfntools/cfntools
diff options
context:
space:
mode:
authorPablo Iranzo Gómez <Pablo.Iranzo@gmail.com>2016-06-29 17:41:57 +0200
committerPablo Iranzo Gómez <Pablo.Iranzo@gmail.com>2016-06-29 17:42:09 +0200
commitc9f938b9d07211aa4bc259e94450a55f1ba83694 (patch)
treeba0e4425dbb2355dbf06295b58583238b411cfe3 /heat_cfntools/cfntools
parent5d62b178c361953d983236ce86e7b6a61e961549 (diff)
downloadheat-cfntools-c9f938b9d07211aa4bc259e94450a55f1ba83694.tar.gz
Fix typo
Change-Id: I15deb824a85aa561c2f2e7f4ea6b4b1ce96367f9
Diffstat (limited to 'heat_cfntools/cfntools')
-rw-r--r--heat_cfntools/cfntools/cfn_helper.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/heat_cfntools/cfntools/cfn_helper.py b/heat_cfntools/cfntools/cfn_helper.py
index 19424b0..f2b9f90 100644
--- a/heat_cfntools/cfntools/cfn_helper.py
+++ b/heat_cfntools/cfntools/cfn_helper.py
@@ -1154,19 +1154,19 @@ class GroupsHandler(object):
if command_status == 0:
LOG.info("%s has been successfully created" % group)
elif command_status == 9:
- LOG.error("An error occured creating %s group : " %
+ LOG.error("An error occurred creating %s group : " %
group + "group name not unique")
elif command_status == 4:
- LOG.error("An error occured creating %s group : " %
+ LOG.error("An error occurred creating %s group : " %
group + "GID not unique")
elif command_status == 3:
- LOG.error("An error occured creating %s group : " %
+ LOG.error("An error occurred creating %s group : " %
group + "GID not valid")
elif command_status == 2:
- LOG.error("An error occured creating %s group : " %
+ LOG.error("An error occurred creating %s group : " %
group + "Invalid syntax")
else:
- LOG.error("An error occured creating %s group" % group)
+ LOG.error("An error occurred creating %s group" % group)
class UsersHandler(object):
@@ -1209,22 +1209,22 @@ class UsersHandler(object):
if command_status == 0:
LOG.info("%s has been successfully created" % user)
elif command_status == 9:
- LOG.error("An error occured creating %s user : " %
+ LOG.error("An error occurred creating %s user : " %
user + "user name not unique")
elif command_status == 6:
- LOG.error("An error occured creating %s user : " %
+ LOG.error("An error occurred creating %s user : " %
user + "group does not exist")
elif command_status == 4:
- LOG.error("An error occured creating %s user : " %
+ LOG.error("An error occurred creating %s user : " %
user + "UID not unique")
elif command_status == 3:
- LOG.error("An error occured creating %s user : " %
+ LOG.error("An error occurred creating %s user : " %
user + "Invalid argument")
elif command_status == 2:
- LOG.error("An error occured creating %s user : " %
+ LOG.error("An error occurred creating %s user : " %
user + "Invalid syntax")
else:
- LOG.error("An error occured creating %s user" % user)
+ LOG.error("An error occurred creating %s user" % user)
class MetadataServerConnectionError(Exception):
@@ -1256,7 +1256,7 @@ class Metadata(object):
self._has_changed = False
def remote_metadata(self):
- """Connect to the metadata server and retreive the metadata."""
+ """Connect to the metadata server and retrieve the metadata."""
if self.credentials_file:
credentials = parse_creds_file(self.credentials_file)