From: Keir Fraser Date: Mon, 31 Mar 2008 09:37:19 +0000 (+0100) Subject: xm: Make xm's printout of security errors look better X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14234^2~15 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6e6b79115c2b3e246a56357ac3b6f0325997f427;p=xen.git xm: Make xm's printout of security errors look better Signed-off-by: Stefan Berger --- diff --git a/tools/python/xen/xm/XenAPI.py b/tools/python/xen/xm/XenAPI.py index a3717d70f2..dd38f37902 100644 --- a/tools/python/xen/xm/XenAPI.py +++ b/tools/python/xen/xm/XenAPI.py @@ -64,6 +64,7 @@ errormap = { "HANDLE_INVALID": N_("The %(1)s handle %(2)s is invalid."), "OPERATION_NOT_ALLOWED": N_("You attempted an operation that was not allowed."), "NETWORK_ALREADY_CONNECTED": N_("The network you specified already has a PIF attached to it, and so another one may not be attached."), + "SECURITY_ERROR": N_("%(2)s"), } translation = gettext.translation('xen-xm', fallback = True)