database: allows hostname parameter be None
authorGermán Poo-Caamaño <gpoo@gnome.org>
Fri, 14 Feb 2014 02:08:36 +0000 (18:08 -0800)
committerGermán Poo-Caamaño <gpoo@gnome.org>
Fri, 14 Feb 2014 02:08:36 +0000 (18:08 -0800)
commit632651309941df064554f459f1cc63b5833b9dcf
treef9b60b111a0a1baf70c45d55abf514f38f20d32a
parentfa9752e960aaf7a2f67245649523b0c2c0b78af5
database: allows hostname parameter be None

It was 'localhost' and empty space before, which was inconsistent
and unclear to handle other engines like postgresql which allows
to connect via socket directly.

Signed-off-by: Germán Poo-Caamaño <gpoo@gnome.org>
pymlstats/__init__.py
pymlstats/backends/mysql.py
pymlstats/backends/postgresql.py
pymlstats/database.py
pymlstats/main.py