Reviewers: ,

Description:
The postgresql backend is choosed by default, but the key is not checked
and later is used in some places like:

line 18 in trytond/ir/sequence.py
sql_sequence = CONFIG.options['db_type'] == 'postgresql'

Please review this at http://codereview.tryton.org/882003/

Affected files:
  M trytond/backend/__init__.py


Index: trytond/backend/__init__.py
===================================================================
--- a/trytond/backend/__init__.py
+++ b/trytond/backend/__init__.py
@@ -7,4 +7,5 @@
 elif CONFIG['db_type'] == 'mysql':
     from .mysql import *
 else:
+    CONFIG['db_type'] = 'postgresql'
     from .postgresql import *


Reply via email to