fixed problem with groups

This commit is contained in:
Massimo
2014-03-14 09:00:19 -05:00
parent 84365f6721
commit d7a42d8445
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.9.4-stable+timestamp.2014.03.13.08.40.34
Version 2.9.4-stable+timestamp.2014.03.14.08.59.20
+2 -1
View File
@@ -2929,7 +2929,8 @@ class SQLTABLE(TABLE):
if not sqlrows:
return
if not columns:
columns = ['.'.join(sqlrows.db._adapter.REGEX_TABLE_DOT_FIELD.match(c).groups()) for c in sqlrows.colnames]
REGEX_TABLE_DOT_FIELD = sqlrows.db._adapter.REGEX_TABLE_DOT_FIELD
columns = [c for c in sqlrows.colnames if REGEX_TABLE_DOT_FIELD.match(c)]
if headers == 'fieldname:capitalize':
headers = {}
for c in columns: