no more has_key

This commit is contained in:
mdipierro
2012-08-26 18:34:50 -05:00
parent 334e150638
commit 030203effd
6 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -1834,7 +1834,7 @@ class SQLFORM(FORM):
else:
rows = dbset.select(left=left,orderby=orderby,*columns)
if exportManager.has_key(export_type):
if export_type in exportManager:
value = exportManager[export_type]
clazz = value[0] if hasattr(value, '__getitem__') else value
oExp = clazz(rows)