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
/
KeyTypes.py
diff --git
a/PLC/KeyTypes.py
b/PLC/KeyTypes.py
index
1fae01b
..
1f7fd19
100644
(file)
--- 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)