From 700a5d0693e69741e06333d878ae8ddfcff67249 Mon Sep 17 00:00:00 2001 From: Torsten Werner Date: Fri, 14 Jan 2011 23:33:36 +0100 Subject: [PATCH] Add another fix to DebVersion. Signed-off-by: Torsten Werner --- daklib/dbconn.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daklib/dbconn.py b/daklib/dbconn.py index cc7f6fe3..d72f002c 100755 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -78,7 +78,8 @@ class DebVersion(UserDefinedType): def bind_processor(self, dialect): return None - def result_processor(self, dialect, coltype): + # ' = None' is needed for sqlalchemy 0.5: + def result_processor(self, dialect, coltype = None): return None sa_major_version = sqlalchemy.__version__[0:3] -- 2.39.5