Setting tag plcapi-5.4-2
[plcapi.git] / PLC / NetworkMethods.py
index 4a68297..a54934d 100644 (file)
@@ -4,9 +4,6 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2006 The Trustees of Princeton University
 #
-# $Id$
-# $URL$
-#
 
 from PLC.Faults import *
 from PLC.Parameter import Parameter
@@ -49,6 +46,6 @@ class NetworkMethods(Table):
               ", ".join(NetworkMethod.fields)
 
         if methods:
-            sql += " WHERE method IN (%s)" % ", ".join(map(api.db.quote, methods))
+            sql += " WHERE method IN (%s)" % ", ".join( [ api.db.quote (m) for m in methods ] )
 
         self.selectall(sql)