Merge "Fix incorrect strings and formatting"

This commit is contained in:
Jenkins
2016-09-06 10:58:16 +00:00
committed by Gerrit Code Review
2 changed files with 3 additions and 3 deletions

View File

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

View File

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