X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FKeyTypes.py;fp=PLC%2FKeyTypes.py;h=1f7fd19c1d176aeffee7beaca44476ef5e000d89;hb=a8f3f895eae7f5f9870380720d1cda979d553915;hp=1fae01b07c5ae73b06b627aab04b6732a65540ce;hpb=68be08dc7706040c9b76013b59ef93371b575d8e;p=plcapi.git diff --git a/PLC/KeyTypes.py b/PLC/KeyTypes.py index 1fae01b..1f7fd19 100644 --- a/PLC/KeyTypes.py +++ b/PLC/KeyTypes.py @@ -49,6 +49,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)