X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=PLC%2FNetworkTypes.py;h=eb34e7c9b1d96201c206fca390c05aead51533f9;hb=b7e47ff8f1797d48e4606f3ee990b63a7177b4d4;hp=7e9187c713d4ea54f594aee0a8de2309886a7fee;hpb=f7ce7ce813d4c44502629820a3583f32a99a98f7;p=plcapi.git diff --git a/PLC/NetworkTypes.py b/PLC/NetworkTypes.py index 7e9187c..eb34e7c 100644 --- a/PLC/NetworkTypes.py +++ b/PLC/NetworkTypes.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 NetworkTypes(Table): ", ".join(NetworkType.fields) if types: - sql += " WHERE type IN (%s)" % ", ".join(map(api.db.quote, types)) + sql += " WHERE type IN (%s)" % ", ".join( [ api.db.quote (t) for t in types ] ) self.selectall(sql)