a144a4f Improve StrEnum validation error message

Authored and Committed by mkosek 11 years ago
    Improve StrEnum validation error message
    
    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
    
        
file modified
+10 -5