commit 1372bad69607fb0a63060f30b201ccfdc027c250 Author: Jan Pokorny jpokorny@redhat.com Date: Mon Jul 26 21:57:40 2010 +0200
Fix: Bad conversion specifier in error message.
.../validate_create_cluster_form.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) --- diff --git a/luci/widget_validators/validate_create_cluster_form.py b/luci/widget_validators/validate_create_cluster_form.py index 8f38a10..a1590a2 100644 --- a/luci/widget_validators/validate_create_cluster_form.py +++ b/luci/widget_validators/validate_create_cluster_form.py @@ -95,7 +95,7 @@ def validate_create_cluster_form(self, **kw): rc.trust() rc.auth(node[1]) if not rc.authed(): - errors.append('Authentication to the ricci agent at %s:%d failed' + errors.append('Authentication to the ricci agent at %s:%s failed' % (node[0], node[2])) continue
@@ -222,7 +222,7 @@ def validate_node_add_form(model, db_obj, **kw): rc.trust() rc.auth(node[1]) if not rc.authed(): - errors.append('Authentication to the ricci agent at %s:%d failed' + errors.append('Authentication to the ricci agent at %s:%s failed' % (node[0], node[2])) continue