#
# Functions for interacting with the node_types table in the database
#
-# $Id$
-# $URL$
#
from PLC.Faults import *
", ".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)