review use of d.quote: use [ ] instead of deprecated map
[plcapi.git] / PLC / SliceInstantiations.py
index f03b119..8e93992 100644 (file)
@@ -49,6 +49,6 @@ class SliceInstantiations(Table):
               ", ".join(SliceInstantiation.fields)
 
         if instantiations:
-            sql += " WHERE instantiation IN (%s)" % ", ".join(map(api.db.quote, instantiations))
+            sql += " WHERE instantiation IN (%s)" % ", ".join( [ api.db.quote (i) for i in instantiations ] )
 
         self.selectall(sql)