提交 33430ab6 编写于 作者: T Torsten Werner

bugfix

Signed-off-by: NTorsten Werner <twerner@debian.org>
上级 adc359da
......@@ -3312,7 +3312,7 @@ class DBConn(object):
engine_args['pool_size'] = int(cnf['DB::PoolSize'])
if cnf.has_key('DB::MaxOverflow'):
engine_args['max_overflow'] = int(cnf['DB::MaxOverflow'])
if sa_major_version >= 0.6 and cnf.has_key('DB::Unicode') and \
if sa_major_version == '0.6' and cnf.has_key('DB::Unicode') and \
cnf['DB::Unicode'] == 'false':
engine_args['use_native_unicode'] = False
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册