Separate database backends. Fix #15
authorGermán Poo-Caamaño <gpoo@gnome.org>
Wed, 12 Feb 2014 00:14:30 +0000 (16:14 -0800)
committerGermán Poo-Caamaño <gpoo@gnome.org>
Wed, 12 Feb 2014 00:14:30 +0000 (16:14 -0800)
commitd8e54fc7ce53be5133fc470680488e52dbe00cd4
tree8c1d23f6320b5a94fbafb093fd71b4bd976a2c38
parentec106c6194b5256b9bcec902fd971c9d8792404d
Separate database backends. Fix #15

Load dynamically only the backend requested to be used.

Signed-off-by: Germán Poo-Caamaño <gpoo@gnome.org>
pymlstats/backends/datamodel.py [new file with mode: 0644]
pymlstats/backends/mysql.py [new file with mode: 0644]
pymlstats/backends/postgresql.py [new file with mode: 0644]
pymlstats/database.py
pymlstats/datamodel.py [deleted file]