improved logic in dal driver selection (fixed)

This commit is contained in:
mdipierro committed 2012-08-30 22:19:59 -05:00
1 parent 1554a831ac
commit ba70a77932
3 files changed
+5 -5

No files matched your search

+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
__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 ProgramVersion
from dal import drivers
from dal import DRIVERS
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