X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FNodeTypes.py;h=00d4bf71a44234eb23b12777030b197608caebc8;hb=19d4a01ccf66af9e00914351b3eacd5fc880f988;hp=896d7eb8056da2bcd5fdeb898ed07fc4ef139479;hpb=f7ce7ce813d4c44502629820a3583f32a99a98f7;p=plcapi.git diff --git a/PLC/NodeTypes.py b/PLC/NodeTypes.py index 896d7eb..00d4bf7 100644 --- a/PLC/NodeTypes.py +++ b/PLC/NodeTypes.py @@ -1,8 +1,6 @@ # # Functions for interacting with the node_types table in the database # -# $Id$ -# $URL$ # from PLC.Faults import * @@ -46,6 +44,6 @@ class NodeTypes(Table): ", ".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)