]> git.decadent.org.uk Git - dak.git/commitdiff
Add another fix to DebVersion.
authorTorsten Werner <twerner@debian.org>
Fri, 14 Jan 2011 22:33:36 +0000 (23:33 +0100)
committerTorsten Werner <twerner@debian.org>
Fri, 14 Jan 2011 22:33:36 +0000 (23:33 +0100)
Signed-off-by: Torsten Werner <twerner@debian.org>
daklib/dbconn.py

index cc7f6fe35287bbdb06b52719c5ba5f2cb22f878f..d72f002c522baf0a9869b5ca6724d25dceef746e 100755 (executable)
@@ -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]