X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FKeyTypes.py;h=df15643b8e83daeb64d088d8982740a9e9582d45;hb=HEAD;hp=1fae01b07c5ae73b06b627aab04b6732a65540ce;hpb=f7ce7ce813d4c44502629820a3583f32a99a98f7;p=plcapi.git diff --git a/PLC/KeyTypes.py b/PLC/KeyTypes.py index 1fae01b..df15643 100644 --- a/PLC/KeyTypes.py +++ b/PLC/KeyTypes.py @@ -4,9 +4,6 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id$ -# $URL$ -# from PLC.Faults import * from PLC.Parameter import Parameter @@ -49,6 +46,6 @@ class KeyTypes(Table): ", ".join(KeyType.fields) if key_types: - sql += " WHERE key_type IN (%s)" % ", ".join(map(api.db.quote, key_types)) + sql += " WHERE key_type IN (%s)" % ", ".join( [ api.db.quote (t) for t in key_types ] ) self.selectall(sql)