From 33430ab640a257ba1227a740cbfb808bfcc94ff9 Mon Sep 17 00:00:00 2001 From: Torsten Werner Date: Thu, 3 Mar 2011 22:43:55 +0000 Subject: [PATCH] bugfix Signed-off-by: Torsten Werner --- daklib/dbconn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daklib/dbconn.py b/daklib/dbconn.py index c7ecdc18..5bff4186 100755 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -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 -- 2.39.5