From: Torsten Werner Date: Fri, 14 Jan 2011 22:33:36 +0000 (+0100) Subject: Add another fix to DebVersion. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=700a5d0693e69741e06333d878ae8ddfcff67249;p=dak Add another fix to DebVersion. Signed-off-by: Torsten Werner --- 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]