Databases must be configured in cherrypy.config
authorSimo Sorce <simo@redhat.com>
Thu, 25 Sep 2014 20:05:04 +0000 (16:05 -0400)
committerPatrick Uiterwijk <puiterwijk@redhat.com>
Mon, 6 Oct 2014 18:25:04 +0000 (20:25 +0200)
commitcc0237a0ada6b6c2ec74d698391f47a38dee59a9
tree275715cccbf76dee4645bcbc0c0a3f049c8ffbf5
parentbb9fddbbdc7c7b963feeffc73e96451d9607d2d4
Databases must be configured in cherrypy.config

There was annoying duplicated init code in the data store classes that was
unused. Just require configuration to be present in cherrypy.config or bail.

Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
ipsilon/util/data.py