From 73b06a5d038e8d08ba025f58e4d0287afa6702a8 Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Wed, 20 Sep 2006 14:41:59 +0000 Subject: [PATCH] - node group names are case sensitive --- PLC/NodeGroups.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PLC/NodeGroups.py b/PLC/NodeGroups.py index 340a74f..00a1b20 100644 --- a/PLC/NodeGroups.py +++ b/PLC/NodeGroups.py @@ -4,7 +4,7 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: NodeGroups.py,v 1.7 2006/09/14 15:45:24 tmack Exp $ +# $Id: NodeGroups.py,v 1.8 2006/09/19 19:08:24 mlhuang Exp $ # from types import StringTypes @@ -206,7 +206,7 @@ class NodeGroups(Table): if nodegroup_ids: sql += " OR nodegroup_id IN (%s)" % ", ".join(map(str, nodegroup_ids)) if names: - sql += " OR name IN (%s)" % ", ".join(api.db.quote(names)).lower() + sql += " OR name IN (%s)" % ", ".join(api.db.quote(names)) sql += ")" rows = self.api.db.selectall(sql) -- 2.43.0