X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fdbconn.py;h=e762ef7201f613fe29769fdd1ef1a467073034bc;hb=e3072cd35534e3807eb6e884b06e7fdea8a81b44;hp=985caf1d2e2b1a7f0bac65fac318d14c454f312c;hpb=38d8ab043fa9d5bc062be20e6656f751a5025362;p=dak.git diff --git a/daklib/dbconn.py b/daklib/dbconn.py index 985caf1d..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) ################################################################################ @@ -1721,7 +1721,7 @@ class DBSource(ORMObject): 'install_date', 'binaries_count', 'uploaders_count'] def not_null_constraints(self): - return ['source', 'version', 'install_date', 'maintainer', \ + return ['source', 'version', 'maintainer', \ 'changedby', 'poolfile'] def read_control_fields(self):