diff options
author | Martin Babinsky <mbabinsk@redhat.com> | 2016-07-13 18:22:04 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2016-07-15 13:55:36 +0200 |
commit | a5c8c9880d62dca50caa1cc8a77c3ae40225570b (patch) | |
tree | 6f3ed7ea449f7f5258765bb22a4a6b6e41ddc0b9 /ipalib/messages.py | |
parent | 2f02ffed03beac43b26e8521eff87b9489a746f9 (diff) | |
download | freeipa-a5c8c9880d62dca50caa1cc8a77c3ae40225570b.tar.gz freeipa-a5c8c9880d62dca50caa1cc8a77c3ae40225570b.tar.xz freeipa-a5c8c9880d62dca50caa1cc8a77c3ae40225570b.zip |
messages: specify message type for ResultFormattingError
the ResultFormattingError message class was missing a `type` member which
could cause `otptoken-add` command to crash during QR image rendering using
suboptimal TTY settings
https://fedorahosted.org/freeipa/ticket/6081
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Diffstat (limited to 'ipalib/messages.py')
-rw-r--r-- | ipalib/messages.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ipalib/messages.py b/ipalib/messages.py index 7288606f6..6abad64a8 100644 --- a/ipalib/messages.py +++ b/ipalib/messages.py @@ -363,6 +363,7 @@ class ResultFormattingError(PublicMessage): """ **13019** Unable to correctly format some part of the result """ + type = "warning" errno = 13019 |