From: Torsten Werner Date: Thu, 3 Mar 2011 22:43:55 +0000 (+0000) Subject: bugfix X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33430ab640a257ba1227a740cbfb808bfcc94ff9;p=dak bugfix Signed-off-by: Torsten Werner --- 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