Re: [Freeipa-devel] [PATCH] 317 Improve StrEnum validation error message

2012-10-01 Thread Martin Kosek
On 10/01/2012 09:19 AM, Jan Cholasta wrote: Dne 27.9.2012 14:28, Martin Kosek napsal(a): Do not print list of possible values as %r but simply as a list of quoted values which should make it easier to read for users. Also add a special case when there is just one allowed value.

Re: [Freeipa-devel] [PATCH] 317 Improve StrEnum validation error message

2012-10-01 Thread Jan Cholasta
Dne 1.10.2012 10:05, Martin Kosek napsal(a): On 10/01/2012 09:19 AM, Jan Cholasta wrote: Dne 27.9.2012 14:28, Martin Kosek napsal(a): Do not print list of possible values as %r but simply as a list of quoted values which should make it easier to read for users. Also add a special case when

Re: [Freeipa-devel] [PATCH] 317 Improve StrEnum validation error message

2012-10-01 Thread Martin Kosek
On 10/01/2012 11:16 AM, Jan Cholasta wrote: Dne 1.10.2012 10:05, Martin Kosek napsal(a): On 10/01/2012 09:19 AM, Jan Cholasta wrote: Dne 27.9.2012 14:28, Martin Kosek napsal(a): Do not print list of possible values as %r but simply as a list of quoted values which should make it easier to

[Freeipa-devel] [PATCH] 317 Improve StrEnum validation error message

2012-09-27 Thread Martin Kosek
Do not print list of possible values as %r but simply as a list of quoted values which should make it easier to read for users. Also add a special case when there is just one allowed value. https://fedorahosted.org/freeipa/ticket/2869 Examples of the improved Enum validation error messages: #