git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
====
[plcapi.git]
/
PLC
/
NodeTypes.py
diff --git
a/PLC/NodeTypes.py
b/PLC/NodeTypes.py
index
896d7eb
..
00d4bf7
100644
(file)
--- a/
PLC/NodeTypes.py
+++ b/
PLC/NodeTypes.py
@@
-1,8
+1,6
@@
#
# Functions for interacting with the node_types table in the database
#
#
# Functions for interacting with the node_types table in the database
#
-# $Id$
-# $URL$
#
from PLC.Faults import *
#
from PLC.Faults import *
@@
-46,6
+44,6
@@
class NodeTypes(Table):
", ".join(NodeType.fields)
if node_types:
", ".join(NodeType.fields)
if node_types:
- sql += " WHERE node_type IN (%s)" % ", ".join(
map(api.db.quote, node_types)
)
+ sql += " WHERE node_type IN (%s)" % ", ".join(
[ api.db.quote (t) for t in node_types ]
)
self.selectall(sql)
self.selectall(sql)