]> git.decadent.org.uk Git - dak.git/commitdiff
dalkib/dbconn.py: Mention which version is installed in sqlalchemy check
authorChris Lamb <lamby@debian.org>
Mon, 24 Aug 2015 01:24:29 +0000 (03:24 +0200)
committerChris Lamb <lamby@debian.org>
Mon, 24 Aug 2015 01:24:29 +0000 (03:24 +0200)
daklib/dbconn.py

index 2d10eff35446b9b0b663bbfcbedd1723d8decd41..e762ef7201f613fe29769fdd1ef1a467073034bc 100644 (file)
@@ -113,7 +113,7 @@ if sa_major_version in ["0.5", "0.6", "0.7", "0.8", "0.9"]:
     from sqlalchemy.databases import postgres
     postgres.ischema_names['debversion'] = DebVersion
 else:
-    raise Exception("dak only ported to SQLA versions 0.5 to 0.9.  See daklib/dbconn.py")
+    raise Exception("dak only ported to SQLA versions 0.5 to 0.9 (%s installed).  See daklib/dbconn.py" % sa_major_version)
 
 ################################################################################