From: Chris Lamb Date: Mon, 24 Aug 2015 01:24:29 +0000 (+0200) Subject: dalkib/dbconn.py: Mention which version is installed in sqlalchemy check X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=f3494005935adb6008265e9232e87077ca10db1d;p=dak.git dalkib/dbconn.py: Mention which version is installed in sqlalchemy check --- diff --git a/daklib/dbconn.py b/daklib/dbconn.py index 2d10eff3..e762ef72 100644 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -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) ################################################################################