git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
review use of d.quote: use [ ] instead of deprecated map
[plcapi.git]
/
PLC
/
NetworkMethods.py
diff --git
a/PLC/NetworkMethods.py
b/PLC/NetworkMethods.py
index
4a68297
..
ff31fe2
100644
(file)
--- a/
PLC/NetworkMethods.py
+++ b/
PLC/NetworkMethods.py
@@
-49,6
+49,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)