From: Mike O'Connor Date: Sat, 7 Feb 2009 18:34:56 +0000 (-0500) Subject: add a class providing access methods to a projectb database X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=c34f53ff08543e1e6911ed24f90fbeda77b0b8b4;hp=c34f53ff08543e1e6911ed24f90fbeda77b0b8b4;p=dak.git add a class providing access methods to a projectb database This class provides an alternative to daklib/database.py for accessing a projectb database. This benefits to this alternative are that it uses the psycopg2 module instead of the pg module, and I object oriented. My motivation for creating this class is to keep the new code for generating Contents.gz files free from the pg module, and therefore, the only functions I've moved into this class so far are those needed for generating the Contents.gz files. Signed-off-by: Mike O'Connor ---