Skip to contentSkip to conversation

Nicer display of security errors

PATCH New Stefan Berger 1 participant 1 message Mar 28, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Nicer display of security errors

This patch makes xm's printout of security errors look better

xen-unstable.hg/tools/python/xen/xm/XenAPI.py +1 -0
Index: root/xen-unstable.hg/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)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel