From 4fb147bf8b221388648c0ff9b247ab5f0edd69b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Wisniewski?= <gregory@nexedi.com> Date: Thu, 1 Oct 2009 08:06:22 +0000 Subject: [PATCH] Fix wrong variable name. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1336 71dcc9de-d417-0410-9af5-da40c76e7ee4 --- neo/neoctl/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo/neoctl/app.py b/neo/neoctl/app.py index 6f2e82dc..d14f61fc 100644 --- a/neo/neoctl/app.py +++ b/neo/neoctl/app.py @@ -49,7 +49,7 @@ class TerminalNeoCTL(object): return protocol.node_states.getFromStr(value) def asNodeType(self, value): - return NodeTypes.getByName(values.upper()) + return NodeTypes.getByName(value.upper()) def asClusterState(self, value): return ClusterStates.getByName(value.upper()) -- 2.30.9