improved logic in dal driver selection (fixed)
This commit is contained in:
@@ -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
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user