removed teritem which breaks py3
This commit is contained in:
+1
-1
@@ -3424,7 +3424,7 @@ class SQLTABLE(TABLE):
|
||||
fieldmap = dict(zip(sqlrows.colnames, fieldlist))
|
||||
if columns:
|
||||
tablenames = []
|
||||
for colname, field in fieldmap.iteritems():
|
||||
for colname, field in fieldmap.items():
|
||||
if isinstance(field, (Field, Field.Virtual)):
|
||||
tablenames.append(field.tablename)
|
||||
elif isinstance(field, Expression):
|
||||
|
||||
@@ -20,9 +20,9 @@ from .test_compileapp import *
|
||||
from .test_appadmin import *
|
||||
from .test_web import *
|
||||
from .test_sqlhtml import *
|
||||
# from .test_scheduler import *
|
||||
from .test_cron import *
|
||||
from .test_is_url import *
|
||||
from .test_scheduler import *
|
||||
|
||||
if sys.version[:3] == '2.7':
|
||||
from .test_old_doctests import *
|
||||
|
||||
Reference in New Issue
Block a user