Fix incorrect strings and formatting

There were a few typos and some lines of code that weren't formatted
properly. Now, the typos are fixed and the misformatted code is
corrected.

Change-Id: I6009e44f65b9be1ae9edc806618342c334b2fa92
This commit is contained in:
Michelle Mandel
2016-09-01 12:06:23 -04:00
parent 8a38c4f479
commit 3b673fe9bd
2 changed files with 3 additions and 3 deletions

View File

@@ -207,7 +207,7 @@ class AuditTemplateAlreadyExists(Conflict):
class AuditTemplateReferenced(Invalid):
msg_fmt = _("AuditTemplate %(audit_template)s is referenced by one or "
"multiple audit")
"multiple audits")
class AuditTypeNotFound(Invalid):
@@ -317,7 +317,7 @@ class AuthorizationFailure(WatcherException):
class KeystoneFailure(WatcherException):
msg_fmt = _("'Keystone API endpoint is missing''")
msg_fmt = _("Keystone API endpoint is missing")
class ClusterEmpty(WatcherException):

View File

@@ -165,7 +165,7 @@ def extend_with_strict_schema(validator_class):
raise exception.AuditParameterNotAllowed(parameter=para)
for error in validate_properties(
validator, properties, instance, schema
validator, properties, instance, schema
):
yield error