improved logic in dal driver selection (fixed)

This commit is contained in:
mdipierro
2012-08-30 22:19:59 -05:00
parent 8e24ce9f30
commit 0038f9d43e
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.0.3 (2012-08-30 22:10:41) stable Version 2.0.3 (2012-08-30 22:19:55) stable
+2 -2
View File
@@ -1,8 +1,8 @@
# this file exists for backward compatibility # this file exists for backward compatibility
__all__ = ['DAL','Field','drivers'] __all__ = ['DAL','Field','DRIVERS']
from dal import DAL, Field, Table, Query, Set, Expression, Row, Rows, drivers, BaseAdapter, SQLField, SQLTable, SQLXorable, SQLQuery, SQLSet, SQLRows, SQLStorage, SQLDB, GQLDB, SQLALL, SQLCustomType from dal import DAL, Field, Table, Query, Set, Expression, Row, Rows, DRIVERS, BaseAdapter, SQLField, SQLTable, SQLXorable, SQLQuery, SQLSet, SQLRows, SQLStorage, SQLDB, GQLDB, SQLALL, SQLCustomType
+2 -2
View File
@@ -1004,9 +1004,9 @@ def start(cron=True):
print ProgramAuthor print ProgramAuthor
print ProgramVersion print ProgramVersion
from dal import drivers from dal import DRIVERS
if not options.nobanner: if not options.nobanner:
print 'Database drivers available: %s' % ', '.join(drivers) print 'Database drivers available: %s' % ', '.join(DRIVERS)
# ## if -L load options from options.config file # ## if -L load options from options.config file