Use 'UUID', not 'uuid' in exception strings

Use the grammatically correct 'UUID' (since it is an
abbreviation) in exception strings.

Change-Id: Ib840b649b6ba0a7ba8dc935be6f06b9d36bb87d7
This commit is contained in:
Ruby Loo 2016-07-25 11:10:39 -04:00
parent 79439274bb
commit c5a7385242

View File

@ -160,11 +160,11 @@ class DuplicateName(Conflict):
class InvalidUUID(Invalid):
_msg_fmt = _("Expected a uuid but received %(uuid)s.")
_msg_fmt = _("Expected a UUID but received %(uuid)s.")
class InvalidUuidOrName(Invalid):
_msg_fmt = _("Expected a logical name or uuid but received %(name)s.")
_msg_fmt = _("Expected a logical name or UUID but received %(name)s.")
class InvalidName(Invalid):
@ -172,7 +172,7 @@ class InvalidName(Invalid):
class InvalidIdentity(Invalid):
_msg_fmt = _("Expected an uuid or int but received %(identity)s.")
_msg_fmt = _("Expected a UUID or int but received %(identity)s.")
class InvalidMAC(Invalid):